Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ItemSend event - getting the senders account

Status
Not open for further replies.

AndrewBaines

Technical User
Apr 19, 2002
463
0
0
GB
Outlook 2003.
I have multiple email accounts in one install of Outlook (pretty normal).
For one of the accounts, when I send email I want to automatically bcc some colleagues.
I'm using Application_ItemSend with VBA to do the code.
The bit I'm struggling with is detecting which email account I'm using to send the email. There seems to be no populated information about the sender until after the send.

What do I do?

Thanks
Andrew

Andrew Baines
Chase International
 
Andrew,

I haven't used Outlook 2003, but I do know that there are a number of properties/objects not exposed by the Oultook object model. For example, I've needed to find the actual e-mail address (as opposed to the display name) of the sender, which is NOT availaible in the Outlook object model (up to 2000, at least). To get this information, I needed to used Collaboration Data Objects (CDO). You may have to investigate this avenue for your problem.

A really good site for CDO information is
I hope you find this useful,

SmallCraig[upsidedown]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top