Log in

View Full Version : Before sending change account



Cass
01-17-2007, 04:44 AM
Hello!
I have 2 accounts in Outlook2003
Is any way to check before sending witch account to use?

etc. contact group or contact


Manually i can change the account if writing mail but it's boring :think:

Bob Phillips
01-23-2007, 01:47 PM
I haven't tested it, but I think you would just logon to the other account from within Outlook, like this



Dim oNameSpace As Object

Set oNameSpace = Application.GetNameSpace("MAPI")
oNameSpace.Logon , "password", True

Ken Puls
01-24-2007, 03:09 PM
Manually i can change the account if writing mail but it's boring :think:

:rotlaugh:
Best every reason to write a macro that I've heard. ;)