A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

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



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old March 8th 07, 08:56 PM posted to microsoft.public.outlook.program_vba
pinkfloydfan
external usenet poster
 
Posts: 7
Default 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

  #2  
Old March 9th 07, 06:39 AM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default 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

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SMTP Server Outgoing server settings Jhoy Outlook - Installation 0 August 3rd 06 03:22 PM
Set Outlook 2003 but getting 'find outgoing mail server cancelled' DaveAlfa Outlook - Installation 4 June 13th 06 01:37 AM
Macro to change the outgoing mail server TeeJii Outlook and VBA 1 May 23rd 06 09:00 PM
Change SMTP server through command line in Outlook [email protected] Outlook - General Queries 0 April 3rd 06 02:17 PM
Multiple accounts, same SMTP server, some outgoing-only Bob Stark Outlook - General Queries 1 January 28th 06 03:05 PM


All times are GMT +1. The time now is 08:58 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-2025 Outlook Banter.
The comments are property of their posters.