Solved

Switch between Outgoing Mail Servers depending on Connection

Posted on 2004-08-10
6
439 Views
Last Modified: 2009-06-07
Hi Guys,
Is there a way to configure Microsoft Outlook to automatically switch between outgoing mail servers

If I have a dial-up connection I want my Outlook to use mail1.eircom.net as outgoing mail server
If I am on LAN I want Outlook to automatically switch to using mail1.mycompany.ie as outgoing mail server.


Any ideas appreciated.



Cheers
0
Comment
Question by:Barry Cunney
6 Comments
 
LVL 49

Expert Comment

by:sunray_2003
ID: 11762298
well I guess there could be many smart ways than my general way ..

Before that how do the connection get switched ? Do you change by yourself .. like just unplugging the LAN and dialing out for the dial-up connection ..

What can be done is have a shortcut of the registry key associated with the outgoing mail server name on your desktop and double-click on it to change the outgoing mail server and reopening outlook , instead of going inside outlook to do the changes .

In better words, let us say your outlook is open and you are using dialup connection.
Now when you want to switch to LAN connection , all you have to do is
double-click on the registry key (will tell you shortly how to do that)
close outlook
change to LAN connection
open outlook

and you should be able to send and receive email fine ..

How to create that registry key:

Go inside registry (start --> run --> regedit)
Search for the outgoing mail server name (that you had given in your outlook)
export that registry key to desktop

Will this work for you ?

SR
0
 
LVL 15

Expert Comment

by:Yan_west
ID: 11762572
You can also make 2 outlook profile, so each time you start outlook, it will ask you the profile you want.

Go in Control Pannel
Mail Icon.
Click Show Profile
Click add
Add the 2nd account.
click ok,
Click "Prompt for a profile to be used"
Ok

Next time you still start outlook, it will ask you for the profile you desire.
0
 
LVL 17

Author Comment

by:Barry Cunney
ID: 11762628
Hi SR ,
I can't find outgoing server name stored in Registry - it may not be stored in registry

Cheers
0
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 
LVL 3

Accepted Solution

by:
ynaught earned 125 total points
ID: 11763666
It depends on what version of outlook you are using
in 2000 the SMTP is stored in the registry at


HKEY_CURRENT_USER\Software\Microsoft\Internet Account Manager\Accounts\########\

you can search for the string value of SMTP server as well

if you are using a newer version out outlook in encrypts the smtp server (I know 2003 does)

I like to do things the hard way from time to time

Here is yet another option for you

change the settings in outlook to your dial up smtp server

close outlook

open regedit

search through the registry for the key “SMTP server”

export that key to your desktop and call it dial up email access

open your email again and change it to the LAN SMTP server

close outlook

open regedit

search through the registry for the key “SMTP server”

export that key to your desktop and call it LAN email access

before you start your outlook double click on the correct location registry file it will update your registry and you will be sending email.

I do this with a few of my clients using both outlook 2000 and 2003.

Regards,
0
 
LVL 3

Expert Comment

by:ynaught
ID: 11825227
BCUNNEY,
      What is the news?  Did it work?   Was it understandable?  Would you like some extra explanation?
Regards,
0
 

Expert Comment

by:paul_2x
ID: 12195285
Just use Mailroom from Trigon.org
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Sometimes Outlook might have problems sending a message. There may be various causes- corrupted PST, AV scanner etc. The message, instead of going to the Sent Items folder, sits in the Outbox indefinitely. To remove it you can use a free tool cal…
Are you unable to connect or configure Hotmail email account in Microsoft Outlook 2010, 2007? Or Outlook.com emails are not downloading to Outlook? Lets’ see the problem and resolve Outlook Connector error syncing folder hierarchy (0x8004102A).
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now