Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Outlook Express & Microsoft Outlook E-mail clients
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00886614
Message ID:
00988317
Views:
55
Hi Marcia
Thanks for the following code to send CDO Email messages:
*==================
#DEFINE cdoSendEmailAddress "http://schemas.microsoft.com/cdo/configuration/sendemailaddress"

loConfig = CREATEOBJECT( 'CDO.Configuration' )
loMsg = CREATEOBJECT( 'CDO.Message' )
WITH loMsg
.Configuration = loConfig
.To = "Someone@Somedomain.com"
.Subject = "Testing CDO"

*** Add any message text to the beginning of the body
.HTMLBody = "THis is a test. This is only a test..."
.Send()
ENDWITH
*==================
It works fine except that it loses it's carriage returns (chr(13) ) in the Body of the message when the person receiving the email opens it.
Am using vfp7.1, win XP.
All help is appreciated.
Bill Wright
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform