G
Guest
I use my laptop at the office and at home. At the office, our ISP requires
us to use their SMTP server for sending email. At home, my ISP requires me
to use their SMTP server for sending email. Everytime I change environments
(almost on a daily basis), I have to manually change the SMTP servers by
going to "Tools->Email Accounts...".
Is there a way to programatically change the outgoing mail server? I would
love to write two macros to change the outgoing mail servers to the desired
values at the click of a button, but I don't see how to access this
information through VBA.
Does anyone know how to do this?
P.S. - I am using Outlook 2002.
us to use their SMTP server for sending email. At home, my ISP requires me
to use their SMTP server for sending email. Everytime I change environments
(almost on a daily basis), I have to manually change the SMTP servers by
going to "Tools->Email Accounts...".
Is there a way to programatically change the outgoing mail server? I would
love to write two macros to change the outgoing mail servers to the desired
values at the click of a button, but I don't see how to access this
information through VBA.
Does anyone know how to do this?
P.S. - I am using Outlook 2002.