Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   How do you change Outgoing mail server (SMTP) in Outlook 2003 with VBA? (http://www.outlookbanter.com/outlook-vba/42931-how-do-you-change-outgoing.html)

pinkfloydfan March 8th 07 08:56 PM

How do you change Outgoing mail server (SMTP) in Outlook 2003 with VBA?
 
Hi there

So I work in many locations and every place I visit I have to change
the smtp settings for the outgoing mail server.

I'm not bad with Excel VBA but I can't seem to find anything in the
Outlook VBA help that covers this.

Can anybody point me in the right direction please so I can write a
simple macro to automate this task for me?

Thanks a lot
Lloyd


Michael Bauer [MVP - Outlook] March 9th 07 06:39 AM

How do you change Outgoing mail server (SMTP) in Outlook 2003 with VBA?
 

You can add one accoutn for each server and select the account from the
toolbar in the e-mail. There's no code necessary.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
The most effective way to assign Outlook categories:
http://www.shareit.com/product.html?...4&languageid=1
(German: http://www.VBOffice.net/product.html?pub=6)


Am 8 Mar 2007 12:56:30 -0800 schrieb pinkfloydfan:

Hi there

So I work in many locations and every place I visit I have to change
the smtp settings for the outgoing mail server.

I'm not bad with Excel VBA but I can't seem to find anything in the
Outlook VBA help that covers this.

Can anybody point me in the right direction please so I can write a
simple macro to automate this task for me?

Thanks a lot
Lloyd



All times are GMT +1. The time now is 07:48 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com