Email Body

bakshibakshi Member Posts: 10
hi ,

i m sending emails from navision 4.0sp3.
in the body part i want to give new line on certain places but i m anot able to do this.
complete body message is going in one line.

any body can tell me how i can do this!!!!! ](*,)
Bakshi Bilochi

Comments

  • MalajloMalajlo Member Posts: 294
    Try with HTML code <br>.
    Are you using 'Microsoft CDO for Windows 2000 Library'.Message automation? In that case, you should use property HTMLBody instead of TextBody.

    If you are using plain text, try adding variables
    Name	DataType	Subtype	Length
    cr	Char		
    lf	Char
    

    assign
    cr := 10 ;
    lf := 13 ;
    
    Compose your text string as
    String := String + cr + lf ;
    
  • bakshibakshi Member Posts: 10
    i m sending emails via New Message function from code unit Mail
    Bakshi Bilochi
Sign In or Register to comment.