Setting "Sender" on new emails.

  • Thread starter Thread starter preben nielsen
  • Start date Start date
P

preben nielsen

Hi

I program a lot in Excel but have only done basic email-creation
and sending with the Outlook objects so please help me out here.

The situation is that in my office we each have our own mailbox
and we also share a mailbox - all in Outlook. Now were
auto-generating email for customers and I would like to have it
appear as if the emails are sent from the shared address instead
of from my own. However there does not seem to be a .From
attribute on the olMailItem object.

Can it be done ??
 
The property you need to set is SentOnBehalfOfName.

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

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