![]() |
How to inspect Outlook Option
VSTO OL2007 C#
How do I inspect the: Tools, Options, Mail Format, Compose In This Message Format, [HTML, Rich Text, Plain Text] option? Also I am guessing that even if this is at HTML, the user can do an adhoc change on a particular email from HTML to plain text? If so, how could we determine what format they are sending in? |
How to inspect Outlook Option
You can only get that startup value from the registry. If the user changes
it during the session the changed value will be written back to the registry but Outlook will work from a memory cached value. And of course a user could change the format at any time up to when they send the item on a one-off basis. In addition, the format can also be changed at sending time by Outlook depending on settings related to each recipient in the address book (send in RTF, let Outlook decide, etc.) and in the option settings for Internet emails, and if using Exchange based on the Exchange settings for sending various formats over the Internet. In the item.Send() event (or any other time) you can read the item.BodyFormat property to see what's been set, but you have to understand that can be changed based on all the settings I referenced. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Mark B" wrote in message ... VSTO OL2007 C# How do I inspect the: Tools, Options, Mail Format, Compose In This Message Format, [HTML, Rich Text, Plain Text] option? Also I am guessing that even if this is at HTML, the user can do an adhoc change on a particular email from HTML to plain text? If so, how could we determine what format they are sending in? |
All times are GMT +1. The time now is 12:28 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