Link to home
Start Free TrialLog in
Avatar of PHD
PHD

asked on

Newline in mail

Hello,

My application send an mail like this :

 > mailBody := 'mailto:' +operateur.mailadress + '?subject=refus&body=Line1' + #10#13 + 'Line2' ;
 > shellexecute(self.Handle,'open', pansichar( mailBody)  ,nil,nil,0);

But in my message 'Line 1' and 'Line2' are in the same line.

How can do to have 'Line2' under 'Line1' in my body ?

Thanks

Sang-Do
ASKER CERTIFIED SOLUTION
Avatar of Tyrsis
Tyrsis

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Tyrsis
Tyrsis

Uhm, oops, I put my email address in there by mistake.  doh.  Remove that obviously.
Avatar of PHD

ASKER

It is in Delphi. Your solution workfine.

doh stands for ??
Doh = oops.  From the TV show Simpsons.  Nevermind :)