assigning accoutn name to a variable

  • Thread starter Thread starter graatje
  • Start date Start date
G

graatje

Is there a possibility to assign the account name to a variable? I want to
check with which account the mail is sent, and depending on that account to
copy the sent mail.
 
Accounts are not exposed through the Outlook Object Model. If an account
other than the default one is being used, you can check a couple of named
properties using Extended MAPI/CDO 1.21/Redemption; Outlook stores account
name and id in these propertires - look at a message with MdbView/OutlookSpy
to see them.

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

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

Back
Top