Private void adxOutlookEvents_ItemContextMenuDisplay ( object sender, object commandBar, object target ) The event signature specifies an Office.CommandBar object – you use it to customize the context menu to be displayed – and an Outlook.Selection object which you use to get the item(s) that were right-clicked. The event occurs when you right-click an item(s) in the Outlook Explorer window before the corresponding context menu is shown. Note that in the object model of Outlook 2010, this event is marked as deprecated still it works. To get the right-clicked item(s), you use the ItemContextMenuDisplay event it is available only in these Outlook versions. In Outlook 20, right-clicking an item doesn’t select it either. This is the source of the problem: when in the Explorer window you select item #1, right-click item #2, then Explorer.Selection returns item #1. In Outlook 2003, right-clicking an item doesn’t select it. This mechanism is described in this post. This produces ExplorerSelectionChange and it means that in these Outlook versions you use Explorer.Activate and Explorer.SelectionChange events to get the selected item and connect to its events. When you right-click an email in Outlook 2000 – 2002, the right-clicked item gets selected before the context menu is shown. You cannot reply to several items because the corresponding commands (including the one in the context menu) are disabled or hidden when several mail items are selected. Let’s consider replying via the context menu.įirst off, you can reply to one item only that item is selected or right-clicked in an explorer window or is opened in an inspector window.
Outlook text small when replying how to#
In my previous posts, I explained how to connect to the Reply event of an Outlook.MailItem selected in the active explorer window or opened in the active inspector window. For Outlook 2007 – 2010, you use the ItemContextMenuDiaplay event (a sample project is supplied).For Outlook 2003, a solution is provided (a sample project is supplied).For Outlook 2000 – 2002, there’s no need to handle the context-menu case.Reading all messages in plain text will allow you to switch messages back to HTML.This post is about how to intercept the user’s replying to a mail item via the context menu: you will not be able to convert it back to HTML later. Note: converting a message to plain text will destroy the HTML part. If you prefer to change the messages to plain text when you reply, open the message, go into Edit Message mode then switch to plain text format before hitting Reply. In Outlook 2003, look for the option in Tools, Options, Email Options.
To enable Read all standard mail in plain text settings in Outlook 2007, go to Tools, Trust Center, Email Security. Select E-mail Security.Įnable Read as Plain Text in Outlook 2007 To enable Read all standard mail in plain text setting in Outlook 2010 and newer versions, open File, Options, Trust Center dialog box. Enable Read as Plain Text in Outlook 2010 and newer You can easily switch individual messages to HTML by clicking in the Infobar and displaying the message as HTML. When Read-as-plain text is enabled in Outlook, the Infobar will say if the message was converted to plain text.