Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Sergey's Send email with CDO 2000 code
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01513044
Message ID:
01513089
Views:
60
Thanks for the link. From that link, I take it that the TextBody property does get set for you. So that setting TextBody yourself is not necessary when i am setting HTMLbody.


"If the AutoGenerateTextBody property is set to True (VARIANT_TRUE), the contents of the TextBody property are replaced by the plain text equivalent of the HTMLBody property; that is, the contents with all Hypertext Markup Language (HTML) tags removed."


>To clarify, HTMBody is converted to TextBody by CDO 2000 itself as described in http://msdn.microsoft.com/en-us/library/ms527263%28EXCHG.10%29.aspx. The cTextBody property stays empty.
>
>>Fantastic. You need to add a paypal contribute button to your site. I'd buy you a virtual beer or two.
>>
>>>A text representation of HTML body (stripped of all HTML tags)
>>>
>>>>What exactly gets stored into the cTextBody property? Are the html tags present?
>>>>
>>>>>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 = ""
>>>>>
>>>>>
>>>
>>>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform