Programatically sending email with different account

  • Thread starter Thread starter =?iso-8859-1?Q?Jes=FAs_Dugarte?=
  • Start date Start date
?

=?iso-8859-1?Q?Jes=FAs_Dugarte?=

One mailitem is received with mail account A. It must be
fowarded with mail account B, using a VBA macro. How do I
change this mail account setting?

Thanks,

Jesús Dugarte
 
You cannot programmatically change the account to be used to send a message,
but you can specify any sender name/address using Extended MAPI/CDO
1.21/Redemption:
http://www.dimastr.com/redemption/faq.htm#14

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool


One mailitem is received with mail account A. It must be
fowarded with mail account B, using a VBA macro. How do I
change this mail account setting?

Thanks,

Jesús Dugarte
 
Back
Top