Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Oct : Adding Linefeeds, suggestions please?
| Subject: | Adding Linefeeds, suggestions please? |
| Posted by: | orangec..@cableone.net |
| Date: | Thu, 18 Oct 2007 14:00:11 |
Hi again people,
I hope this is the appropriate group to post this...
I am using...
const
myCrLf = #10#13;
var
stEmail : AnsiString;
begin
pmPending.Clear; // pmPending is a TMemo
pmPending.Lines.Add('Line 1:'+myCrLf);
pmPending.Lines.Add('Line 2:'+myCrLf);
pmPending.Lines.Add('Line 3:'+myCrLf);
stEmail:='mailto:gary@cableone.net'+
'?Subject=Purchase Request'+
'&Body='+pmPending.Lines.Text;
ShellExecute( 0,'open',PChar(stEmail),'','',SW_SHOWNORMAL);
OK, so it all works fin but when it is passed to Outlook Express or
TBird, all the line breaks are ignored and I get...
Line 1:Line 2:Line 3:
How can I pass line breaks to Outlook and/or TBird?
Thanks in advance.
--
Gary C.