Force Outlook to send mail as Plain Text

  • Thread starter Thread starter Richard Bernstein
  • Start date Start date
R

Richard Bernstein

My email message sent through Access via automation is
formatted in columns and must be sent as a Plain Text
message. Can the Outlook Mail Format be controlled
programmatically? I've looked through the Outlook object
model. The only property which seemed close was read only.

Richard Bernstein
 
You can use CDO to create a plain text message in any version of Outlook (as long as the CDO component is installed, of course). To use Outlook objects, you must be using Outlook 2002 or later, which exposes a BodyFormat property you can set when you create a message.
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 
Thanks for the reply, and not referring me to the hundreds
of prior threads on the subject, which I searched on
Google after posting (I wasn't aware at the time of
posting that this NG was archived on Google).

CDO would be a good solution if not for the additional
requirement that some of these emails include Outlook
VotingOptions.

..BodyFormat would also be good, but not all users have
Outlook 2002 or later.

I guess its a matter of what's most important.

Richard Bernstein
-----Original Message-----
You can use CDO to create a plain text message in any
version of Outlook (as long as the CDO component is
installed, of course). To use Outlook objects, you must be
using Outlook 2002 or later, which exposes a BodyFormat
property you can set when you create a message.
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers



"Richard Bernstein" <[email protected]>
wrote in message [email protected]...
 
Voting Buttons and Plain Text are not compatible. A message with Voting Buttons should go in rich-text format.
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 
Interesting. So far in my testing with Outlook 2003,
VotingOptions worked with Plain Text on my standalone pc.
In light of your statement, I'm interested to see what
happens with Outlook, Plain Text and Exchange Server.

Richard Bernstein
-----Original Message-----
Voting Buttons and Plain Text are not compatible. A
message with Voting Buttons should go in rich-text format.
 
I think what may happen is that Outlook is sending a Winmail.dat component with the plain text message. A look at the raw message downloaded to a POP mailer like Outlook Express would probably be instructive.

--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 
Back
Top