Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   CreateItem message format (http://www.outlookbanter.com/outlook-vba/28878-createitem-message-format.html)

Peter Ramsebner October 4th 06 03:07 PM

CreateItem message format
 
Hello group

For E-Mails normally I'm using HTML format (Extras - Options -
E-Mail-Format - Messageformat is set to HTML)

I'm creating E-Mail messages from MS Access:
Set objOL = CreateObject("Outlook.application")
Set objMail = objOL.CreateItem(0)

Is it possible to create this E-Mails as 'Text only' instead of HTML. I
don't wont change the settings for general.

Thanks, Peter





Ken Slovak - [MVP - Outlook] October 4th 06 03:15 PM

CreateItem message format
 
Use MailItem.BodyFormat. You can set it to OlBodyFormat.olFormatPlain (1).

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Peter Ramsebner" wrote in message
...
Hello group

For E-Mails normally I'm using HTML format (Extras - Options -
E-Mail-Format - Messageformat is set to HTML)

I'm creating E-Mail messages from MS Access:
Set objOL = CreateObject("Outlook.application")
Set objMail = objOL.CreateItem(0)

Is it possible to create this E-Mails as 'Text only' instead of HTML. I
don't wont change the settings for general.

Thanks, Peter






Peter Ramsebner October 4th 06 03:53 PM

CreateItem message format
 
Use MailItem.BodyFormat. You can set it to OlBodyFormat.olFormatPlain (1).

thanks, i will try it.




All times are GMT +1. The time now is 08:45 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com