s_w_e2
asked on
Delphi and Outlook - adding line feeds to the body text
I've written a program that interacts with Outlook but I'm having trouble getting linefeeds into the body of the text. Ā The 2 pertinent lines of the program are:
mail:= 'mailto:'+gmail+'?subject= ' +sub + '&body='+body+'&cc='+gmail cc;
and
ShellExecute(Handle,'open' ,PChar(mai l),nil,nil ,SW_SHOWNO RMAL);
where :
gmail, gmailcc are addresses
sub is just some text
body is the message of the email
My question is how to put linefeeds in this message
mail:= 'mailto:'+gmail+'?subject=
and
ShellExecute(Handle,'open'
where :
gmail, gmailcc are addresses
sub is just some text
body is the message of the email
My question is how to put linefeeds in this message
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you
Have I not said the same thing ???
Plus the way to automatically replace ascii ret line with the sequence in your entire body string ?
Plus the way to automatically replace ascii ret line with the sequence in your entire body string ?
This will convert all 'normal' ret line codes with it
Open in new window