Setting "Sender" on new emails.

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 ??
 
S

Sue Mosher [MVP-Outlook]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top