Hi all,
Probably an already answered question but i didn't find the answer.
I want to send an email from a form in Navision. In the record I've the body text of the message (text field).
But... I don't know how to obtain line breaks. I tried {enter}, <BR>, /n, \, nothing works.
Here is the code of the function call :
MailMngt.NewMessage(SalesPersRec1."E-Mail",
CCName,
STRSUBSTNO(MailReportSetup."Mail Subject",TODAY,COMPANYNAME),
BodyText,
FileNameText,
FALSE);
Here is an example of the content of Body text :
"Dear Mr nn {ENTER} <BR> {ENTER} <BR> \n \n Please find attached the Navision report for Company Cronus Ltd.<BR>{ENTER}This report has been calculated on 01/01/2001.{ENTER}<BR>{ENTER}<BR>Best Regards"
Any idea ?
Thank you a lot.
Comments
An example is:
http://www.mibuso.com/forum/viewtopic.php?t=28278
vchar is variable with datatype of char
vbody is variable with datatype of text
line1,line2,line3 is variable with datatype of text
be smart before being a clever.
be smart before being a clever.
But oh my foes and oh my friends, it gives a lovely light