Send As / Send on behalf...

  • Thread starter Thread starter Andy
  • Start date Start date
A

Andy

Hi,

At work we use Outlook (98) and Exchange. When sending mail, we have the
option to send from another Mailbox, by completing the 'From:' field.

Is there a way through code (VBA) to send messages from these mailboxes?

I looked up some info. about olMailItem, but there is no "From"
option/property. Would I have to use CDO?

Any info helpful.
Thanks
 
Thanks Sue

Sue Mosher said:
Set the MailItem.SentOnBehalfOfName property.

FYI, there is a newsgroup specifically for general Outlook programming
issues "down the hall" at microsoft.public.outlook.program_vba or, via web
interface, at
http://www.microsoft.com/office/community/en-us/default.mspx?dg=microsoft.pu
blic.outlook.program_vba


--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Back
Top