Jmail

areare Member Posts: 10
Hi.
Anyone that knows how to insert CrLf when typing text into the mail

After typing
Jmail.AppendText:=' blablabla';
I want to insert CrLF.
In the Userguide there is an example:
msg.Body = “This w3 JMail stuff rocks!” & vbCrLf
but i don't understand how to convrert this to C/Side code

](*,)

Comments

  • JPHSCJPHSC Member Posts: 67
    2 Char variables :
    CR char and LF Char

    in your code
    CR := 10;
    LF := 13;

    msg.Body := 'type text here ' + CR + LF

    this should do the trick
  • JPHSCJPHSC Member Posts: 67
    PS: if you want to send email from navision, take a look at codeunit 400 ...

    This works fine !
  • areare Member Posts: 10
    Works Perfect !! Thank You!
Sign In or Register to comment.