Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Outlook Express & Microsoft Outlook E-mail clients
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00886614
Message ID:
00988317
Vues:
57
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform