forward an attachment with form region

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

Created an Outlook 2007 Addin using VSTO and form regions. When forwarding a
mail item that has been opened with one of our form region that has an
attachment we want to catch the forward even just before the new mail item
has been created. We basically want to alter the attachment when the user
presses the forward button on the ribbon and then forward the mail item.

Is there a "before forward" event on the mail item or even on the form region?

Thanks in advance
 
The event you'd need to use would be MailItem.Forward. I don't see this as related to the form region.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Thanks for your reply.

Unfortunately, the MailItem.Forward event is being raised after the new mail
item has already been created. Thats why I said a "BeforeForward" event would
be more appropriate for me since I want to alter the attachment BEFORE it is
attached to the new mail item. In the MailItem.Forward event I don't have
information on the mail item that the forward button was pressed.
 
You should have that information, from the MailItem object whose Forward event you're handling.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Back
Top