![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
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. and want the ender of teh e-mail te be . 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 |
Ads |
#2
|
|||
|
|||
![]()
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. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "CodeingForLife" wrote in message ... 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. and want the ender of teh e-mail te be . 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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Change the account from sending e-mail | Michael | Outlook and VBA | 3 | November 24th 09 02:00 PM |
Outlook Script Sending Mail using another account ? | bbnimda | Outlook - Using Forms | 4 | November 10th 08 06:34 PM |
Exchange 2003: The e-mail account does not exist at the organization" when sending to ONE INTERNAL user | KingCronos | Outlook - General Queries | 3 | October 5th 07 12:20 PM |
select e-mail account for sending message | BBran | Outlook - General Queries | 12 | August 3rd 07 04:42 PM |
how to automate specifying the account to use when sending mail? | admaybhate | Outlook - General Queries | 3 | September 18th 06 11:49 AM |