Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Carraige return being ignored automating outlook
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00721824
Message ID:
00721842
Views:
15
Sorry :(

I've tried this code with GroupWise, but everything is written in one line (subject, body and address all placed into address).

What e-mail client you're using?

You may try two CRLF just for the heck of it...

>Same result. The body of the msg just runs together. No line breaks.
>
>Am using:
>
>
>
>#DEFINE CRLF CHR(13)+CHR(10)
>DECLARE INTEGER ShellExecute ;
>IN SHELL32.DLL ;
>INTEGER nWinHandle,;
>STRING cOperation,;
>STRING cFileName,;
>STRING cParameters,;
>STRING cDirectory,;
>INTEGER nShowWindow
>	   	
>lcEmailAddress = ALLTRIM(fcsecure.sc_email)
>lcSubject = "Ticker item question"
>lcMessageBody = "(...comments, question, corrections here...)" + CRLF + ;
>"  Project name: "+ALLTRIM(jobs.jc_name)  + CRLF + ;
>"  Project number: "+ALLTRIM(jobs.jc_task)  + CRLF + ;
>"  Item description: "+ALLTRIM(v_ticklerpk.t_desc)  + CRLF + ;
>"  Due Date: "+DTOC(v_ticklerpk.t_date)  + CRLF + ;
>"  Copies: " +ALLTRIM(STR(v_ticklerpk.t_copies))
>
>ShellExecute(0, "", "mailto:" + lcEmailAddress + "?Subject=" + lcSubject + ;
>                "&body=" + lcMessageBody, "", "", 1)
>
>
>
>
>>Try CRLF instead CHR(13)+CHR(10)
>>
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform