Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using Sergey's Send email with CDO 2000 code
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01513044
Message ID:
01513045
Vues:
99
You don't have to. When you populate HTML body, the text body is filled by CDO 2000.
.cHtmlBody = "<html><body><b>This is an HTML body<br>" + ;
	*		"It'll be displayed by most email clients</b></body></html>" 	
.cTextBody = ""


>Using Sergey's code to send emails, is there a way to take HTML email message text and convert it to its text equivalent? I need to populate the cTextBody property based on the cHtmlBody property.
>
>
>.cHtmlBody = "<html><body><b>This is an HTML body<br>" + ;
>	*		"It'll be displayed by most email clients</b></body></html>" 	
> 
>.cTextBody = "This is a text body." + CHR(13) + CHR(10) + ;
>		"It'll be displayed if HTML body is not present or by text only email clients"
>
>
>
>http://www.berezniker.com/content/pages/visual-foxpro/send-email-cdo-2000
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform