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:
00721930
Views:
16
This message has been marked as the solution to the initial question of the thread.
Hi Chris,

Try
#DEFINE ccNewLine "%0D%0A"
lcMessageBody = "(...comments, question, corrections here...)" + ccNewLine + ;
                "  Project name: "+ALLTRIM(jobs.jc_name)  + ccNewLine + ;
		"  Project number: "+ALLTRIM(jobs.jc_task)  + ccNewLine + ;
		"  Item desccNewLineiption: "+ALLTRIM(v_ticklerpk.t_desc)  + ccNewLine + ;
		"  Due Date: "+DTOC(v_ticklerpk.t_date)  + ccNewLine + ;
		"  Copies: " +ALLTRIM(STR(v_ticklerpk.t_copies))
...
>From the Automating VFP book, in the outlook chapter, is the following code:
>
< snip >
>
>when the outlook email msg window is displayed the email body text all runs together. No line feeds. Is this something w/ ShellExecute?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform