Ms Outlook Default From

Hudas

Member
Outlook version
Outlook 2007
Email Account
Exchange Server
Hi -

I have multiple Mailbox in my profile. How do i make it so that one of my mailbox will be the default FROM whenever I create a new email?

Thank you
Jun
 

Alex S.

New Member
Outlook version
Outlook 2007
Email Account
IMAP
hi there

use

Code:
With objMailItem 
   SendUsingAccount = olNS.Accounts.item("Your@MailAccount") 
...
Best, Alex
 

Alex S.

New Member
Outlook version
Outlook 2007
Email Account
IMAP
... or use the number of the account like

Code:
SendUsingAccount = olNS.Accounts.item(2)
 

Hudas

Member
Outlook version
Outlook 2007
Email Account
Exchange Server
Hi Alex,

Thank you!! By the way where do i exactly put this code.
 
Top