Visual Basic Code to Send Outlook eMail

Thursday July 26, 2001

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)

{ 2 comments… read them below or add one }

1 Chris Friday February 8, 2002 at 11:32 am

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

2 Greg Thomas Wednesday March 27, 2002 at 2:03 am

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

Leave a Comment

Previous post: Celebrity Skin

Next post: Toilet Paper Directional Preference