Having upgraded my database to NAV2013, I had an issue with sending out my digital invoices. So checking out the new codeunit 397 - Mail, I have successfully modified my code to use the same coding that is used there.
So now I get my e-mail, with everything in it; to address, cc addresses, subject, attachment(s) and body text. So far so good.
The only thing I cannot get to work is new lines in the body text. Not with CR/LF characters, not with System.Environment.NewLine dotnet variable.
I use NAV2013 NL (build 33781) and 32-bit Outlook 2013.
Anyone got this working?
0
Answers
FORMAT(CH10) will give you a new line.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
I have added Char13, Char10 and a dotnet newline, but still I don't get new lines in my e-mail
The DotnetEnviron is a dotnet variable of type 'System.Environment.'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089''
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Thanks, that did the trick!
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav