Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Force outlook to show text as text, not RTF/HTML
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01039793
Message ID:
01039814
Views:
33
I do, and it does.

BR

>If you fill the .Body (rather than the .HTMLBody) it should arrive as text. Or does the recipient's Outlook still looks at the message as HTML?
>
>>I'm doing all this from within VFP, press a button - call custom object SendMail wich builds the messagebody with Text...Endtext...TextMerge, adds the To, CC, Attachments a.s.o.
>>
>>The user never sees the message, and the receipient is supposed to view it as text, otherwise it lokks like s...
>>
>>So it's essential that the receipients Outllok be forced to open it as plain text.
>>
>>
>>>>Hi Cetin,
>>>>
>>>>It's the latter - but how and where?
>>>>
>>>>Outlook.Application does not have a ContentType, and neither does MailItem.
>>>>
>>>>So, where do I set this property?
>>>>
>>>>BR
>>>>
>>>>>
>>>>>If you mean how to send a message as plain text then set ContentType to 'text/plain'.
>>>
>>>Oh from within outlook select "Plain Text" from toolbar where it says HTML by default. Also you can make that default using options\Mail format.
>>>Cetin
Peter Pirker


Whosoever shall not fall by the sword or by famine, shall fall by pestilence, so why bother shaving?

(Woody Allen)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform