Sending e-mail from other account

  • Thread starter Thread starter CodeingForLife
  • Start date Start date
C

CodeingForLife

I'm writing a VBA function that creates a MailItem object, attaches a PDF
file and sends it to an e-mail adres. It works so far.
But now I want to use another account to send the e-mail by setting an
Account object to the SendUsingAccount property. So my default/login account
for Outlook is e.a. (e-mail address removed) and want the ender of teh e-mail te be
(e-mail address removed). I'm using Outlook 2007 with Exchange 2003 that does not
allow multiple accounts for Outlook. The Application.Session.Accounts
collection shows only 1 account, my default/login account, can't select
another one. Rights in Outlook are set to manualy select a different sender,
but i can't get it done from VBA with MailItem object.
Need some help on this one
 
Unless you set up another account there's no way you can do what you want.

You cannot have more than 1 Exchange account in Outlook 2007 unless one is
an IMAP account but you can have multiple POP3 accounts.
 

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