2010 Mar 11 10:34 AM
hi
i have a case here were in a concatenate multiple string in one message
let say concatenate v_msg '<br/>' v_msg2 into v_msg3 seperated by string.
this message will be sent to email.
in the mail however the line were interpreted as a text
<br/> instead of a command line
why is that? is there any solutiion for this case?
thanks
aud
Edited by: audemar ryann on Mar 11, 2010 11:35 AM
Edited by: audemar ryann on Mar 11, 2010 11:37 AM
Edited by: Thomas Zloch on Mar 11, 2010 11:54 AM - subject line fixed for forum overview
2010 Mar 11 10:43 AM
Hi,
your message is not clear, please provide more details.
Regards,
--
Przemysław
2010 Mar 11 10:49 AM
let say i have this string " the fox jump over <br\> the lazy dog" ( i used reverse / in purpose because it is being interpreted here as next line)
now my poblem is when i passed them to a mail the line is treated a string and not as a command for next line
because i have to display the " the lazy dog" in the a next line but this is not happening instead it is still display as how i passed them in abap.
2010 Mar 11 10:53 AM
Hi,
you probably send email in text - that is why html markups are ignored.
Change <br /> to CL_ABAP_CHAR_UTILITIES=>NEWLINE (or CR_LR) using REPLACE ALL OCCURRENCES OF...
Regards,
--
Przemysław
2010 Mar 11 11:03 AM
can you elaborate on that i had used CR_LR but still it is displayed in the email as is.
2010 Mar 11 11:08 AM
Hi,
please give some code.
I am using SO_NEW_DOCUMENT_ATT_SEND_API1 to send emails, and I pass internal table as message body - everything works fine. Maybe you could change the function you are using?
Regards,
--
Przemysław
2010 Mar 11 11:14 AM
im not using any function module im doing XI sending mail to end user,
is there any way that the lies of command will be interpreted as a html command
because in the email it is displayed as is.
thanks for the info anyways
2010 Mar 11 12:01 PM
>
> im not using any function module im doing XI sending mail to end user,
>
> is there any way that the lies of command will be interpreted as a html command
>
> because in the email it is displayed as is.
>
> thanks for the info anyways
Hi,
try to put like...this
<HTML>
first line<br>secondline
</HTML>
2010 Mar 11 1:14 PM