on 08-25-2006 12:33 PM
Hi all,
I am trying to send email from R/3 using XI mail adapter.
For content I am using a String in R/3 but the interpreter does not recognize the new line char \n embedded in the string.When the mail arrives it comes as a single line.
What is the right way to build the string so that line break is maintained.
Thanks ,
Bikram
Bikram,
Try using 'nl' for new line. Not sure but worth a try. Let me know if it works. Let us wait for the comments from experts.
Regards,
Jai Shankar.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Bikram,
i guess this a bit too late for you but for all the others having the same question:
I think it depends in which format you send the email but for my scenario it worked with a user-defined function where you have something like that:
String newline = System.getProperty("line.separator");
return ("Sentence one." + newline + "Sentence two.");
Hope that helps
Mathias
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.