Creating e-mail is always Rich Text NOT Plain Text 
Author Message
 Creating e-mail is always Rich Text NOT Plain Text

Hi,

I have a macro that runs in Excel, as part of the routine
some of the output is to an e-mail created in Outlook, the
string is written to the object.Body in a new Outlook mail
item. But the resulting e-mail always ends up being in
Rich Text, this despite.Setting the default mail format to
plain text in outlook, Exiting and loging off then
restarting Outlook before running the Excel macro. I have
lookked at the EditorType, but this is read only and I can
not change this programatically. Any thoughts would be
helpful.

Rgds Craig

p.s. I am running Office 2000



Wed, 28 Jan 2004 05:30:05 GMT  
 Creating e-mail is always Rich Text NOT Plain Text
Writing to the Body always creates an RTF message. You can use HTMLBody to
create an HTML message or use CDO instead of Outlook to create a plain text
message.

--

Sue Mosher, Outlook MVP
Author of
     Teach Yourself Microsoft Outlook 2000 Programming in 24 Hours
     Microsoft Outlook 2000 E-mail and Fax Guide
Outlook and Exchange solutions at http://www.slipstick.com


Quote:
> Hi,

> I have a macro that runs in Excel, as part of the routine
> some of the output is to an e-mail created in Outlook, the
> string is written to the object.Body in a new Outlook mail
> item. But the resulting e-mail always ends up being in
> Rich Text, this despite.Setting the default mail format to
> plain text in outlook, Exiting and loging off then
> restarting Outlook before running the Excel macro. I have
> lookked at the EditorType, but this is read only and I can
> not change this programatically. Any thoughts would be
> helpful.

> Rgds Craig

> p.s. I am running Office 2000



Wed, 28 Jan 2004 05:44:54 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Mapping plain text to rich text?

2. saving rich text box as plain text

3. Saving Rich Text Box Control as PLAIN TEXT!!!!

4. Creating Plain Text E-Mails with Outlook 2000

5. Sending HTML -or- PLAIN TEXT Email via Outlook Express

6. Sending plain text email via Access 97 and Outlook

7. Getting my CDO email in plain text only?

8. plain text email url wraps and breaks

9. OL2002 ignoring line wrap setting for plain text email messages

10. Getting my CDO email in plain text only?

11. Deleting autosignature from plain text emails in Outlook 2002

12. Extracting info from plain text emails

 

 
Powered by phpBB® Forum Software