Controlling which email account a new email comes from-using vba

  • Thread starter Thread starter Joe
  • Start date Start date
J

Joe

I have several email accounts set up.

When I create a new email with:

Set itEmail = Application.CreateItem(olMailItem) ,

I don't see how to control which email account will be used for sending the
email with vba. There's no apparant property of the MailItem to set.
Normally the default account is used.

In the UI, this is controlled by the Accounts drop down, which is just to
the right of the Send button.

Thanks for any help.
 

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