Yeah. So. Gotta little bug here. Can anyone tell me how to force Outlook to send a message formatted as plain text instead of in the user’s default format in VB? The only information I can find is about the OlEditorType, but that is apparently read-only unless I force the mail object to have HTMLBody true. It’s not an emergency, or even important. It’s just really annoying me.

Dim myOLApp As outlook.Application, myItem As outlook.MailItem
Set myOLApp = CreateObject(“Outlook.Application”)
Set myItem = myOLApp.CreateItem(olMailItem)


There are 2 comments on this post

  1. Trying to figure this out myself. Haven’t found anything. Let me know if you have any luck.
    Chris

  2. The short answer – you can’t.
    The long answer – use CDO or MAPI. See http://support.microsoft.com/default.aspx?scid=kb;en-us;Q222248 for the full info.

    HTH,

    Greg

Add to the discussion:

I'll never share your email address and it won't be published.

What Is This?

davidgagne.net is the personal weblog of me, David Vincent Gagne. I've been publishing here since 1999, which makes this one of the oldest continuously-updated websites on the Internet.

bartender.live

A few years ago I was trying to determine what cocktails I could make with the alcohol I had at home. I searched the App Store but couldn't find an app that would let me do that, so I built one.

Hemingway

You can read dozens of essays and articles and find hundreds of links to other sites with stories and information about Ernest Hemingway in The Hemingway Collection.