Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Force plain-text email with Outlook 2000

Status
Not open for further replies.

Godelinde

Technical User
Jul 30, 2002
4
NL
Hello,

I have coded some lines in Visual Basic 6 to compose plain text email with Outlook XP (2002) and that works fine.
Then I tried with Outlook 2000 (Outlook 2000 will be used normally) and I found that I couldn't force the format to plain text (like I used "BodyFormat = olFormatPlain" with Outlook XP (2002)).
Outlook comes up with its default editor (eg. HTML), but I want to force Outlook 2000 to come up with the plain text editor and send an email in plain text format.

With Outlook 2000 you would have the options to use "Body" or "BodyHTML" to distinguish between plain text or HTML, however with both options I can't force the message in plain text.

Is there any way to force plain text mode with Outlook 2000? If not, is there any way to select a message-font (i.e. Courier)?
I also tried to use the Outlook 10.0 library, but that didn't work with Outlouk 2000...

All of this I want, because the HTML format screws up my email layout (no proportional font).

Thanks in advance
 
In Outlook 2000, you can go to Tools > Options > Mail Format and choose "Plain Text" from the dropdown in the Message Format section. Once it is set, Outlook will remember it.
 
Hello,
Yes I know that it can be selected from within Outlook, but I need to force this from my VB-code.
I need to force plain text, regardless of the editor setting in Outlook...

 
I have the same issue, but when using "sendmail" under Unix to generate mail (see my postiong thread 605-344713 or search the forum on "Courier").
Has anyone got a solution so far?
 
What happen if you specify HTML and then
Code:
<pre>
text
...
</pre>

?

On some email clients it goes to monospace. e.g. on OE it works, on Eudora which allows the user to only accept text they will see the tags.

Perhaps even the <font...> tag works.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top