Search OutlookPower's 8,981 Outlook and all-things-email article archive 
Home
EasyPrint
News details Click here for the RSS feed's XML code. This is not a browser URL.
Articles-only Click here for the RSS feed's XML code. This is not a browser URL.
Twitter Feed Click here for the Twitter feed.
THIS WEEK'S POWERTIP
Changing SMTP servers on the fly
By Diane Poremsky

Many ISPs require that users route all outbound mail through their mail servers (that is, the ISP's servers, rather than, say, your company's own mail server). If you happen to use several different ISPs, you'll to change the SMTP (Simple Mail Transport Protocol) account each time you change how you connect to the Internet.

Editing the account properties dialog each time gets old fast, especially if you switch connection methods often. This annoyance is particularly prevalent among users who carry their laptops from location to location.

A common workaround is to create a new account using another SMTP server. While this works well for two SMTP servers, giving you Account A - SMTP 1, Account B - SMTP 1, Account A - SMTP 2, Account B - SMTP 2, it can get unmanageable if you have too many accounts since you need to remember to switch accounts if you reply to mail downloaded through an account using the other SMTP server.

Another alternative is to make a copy of your Outlook profile, so you have one profile for SMTP 1 and another profile for SMTP 2. Both profiles will be identical except for the SMTP servers used, right down to the account names and PST files used. When you switch Internet connections, close Outlook and reopen Outlook using the correct profile.

Andy Helsby recommends a method which needs only one profile. Use a server called "mail" as your SMTP server in all accounts and edit the hosts file in the windows\system32\drivers\etc directory with the correct IP address.

Enter the IP addresses for each SMTP server and comment out the SMTP servers you aren't using with the current connection. To switch SMTP servers, open the Hosts file using the shortcut and comment out the old SMTP server and uncomment the SMTP server you want to use. As an example, your entries will look like this when you are using the SMTP server you normally connect to when you send mail from home:

#192.168.4.32 mail # Use this SMTP at Work
66.55.44.33 mail # Use this SMTP from Home

To make editing the Hosts file easier, add a shortcut to the hosts file to your Quick Launch bar to open the hosts files in Notepad, using this command line:

notepad c:\windows\system32\drivers\etc\hosts

If you are into writing batch files or scripts, create two batch files and two hosts files. Home.bat copies the hosts.home file to hosts, while Work.bat copies hosts.work to the hosts file when you run it. Since the SMTP server name doesn't change, you can run either batch file when Outlook is open.

Diane Poremsky is the president of CDOLive LLC and a Microsoft Outlook MVP. She's author of Teach Yourself Outlook 2003 in 24 Hours (Sam's, 2003) and coauthor of OneNote 2003 for Windows (Visual QuickStart Guide). For questions or suggestions for future columns, write her at outlook@cdolive.com.


Other articles you might like
Home > Using Outlook > Managing Email (20 articles)
   How to have a clean inbox in 2010
   Email your holiday greeting without losing that personal touch
   How not to screw up when you send email
Get Weekly Email Updates
Subscribe to our regular weekly email newsletter. It's packed with tips, reviews, deep analysis, and the latest news.
 
Recent OutlookPower Articles
Running auto-respond rules when Outlook is closed
Running rules when Outlook is closed
Disappearing text that's not supposed to disappear
What to do when Outlook complains about a program you know you uninstalled
Nothing says new year better than emails from crazy people
Say goodbye to the Uh-Ohs. Long live the Tens.
How to have a clean inbox in 2010
OutlookPower News Center
EML to PST Converter - Conversion of Email Formats to Outlook
Windows 2000, XP SP2, Vista RTM support nears end
Windows 7 Just Being Honest About Battery Life
Remo Software Launches Data Recovery Software
US scientists get free cloud on-ramp
Leaky anti-virus defences letting malware through
Patch Tuesday Release Will Tie Microsoft's Record
>> Read all the news
More from the ZATZ journals
Computing Unplugged: The iPad: Apple's latest heartbreaker
David Gewirtz Online: CNN commentary and analysis
DominoPower: Lotusphere 2010: mobility and collaboration
-- Advertisement --

ONLINE GROUP CALENDAR - FOR UP TO 100 OF YOUR CLOSEST FRIENDS
Stay organized and in control with 24/7 access to all of your important events, projects and files --whether you're at work, at home or on the road.

You can share your calendar, projects and files so everyone in your office is up to date. Plus, search your entire group to find times when everyone is available to meet, manage company resources and much more.

Organize your entire team for as low as $9.95 per year (and yes, that's where the decimal place is supposed to be!)

Tap here to get started right away.

-- Advertisement --

How Much Time Do You Waste Typing The Same Responses Over And Over?
InsertText goes way beyond signatures, saves you time, and helps you respond to your correspondents much faster than ever before.

  • Insert repeated text fragments
  • Write templates that you can reuse later
  • Easy to use even if you have hundreds of templates
  • Much more than just copy & paste
  • Works inside Outlook and from the System Tray

Turn a 10 minute chore into a 30-second point and click task.

Tap here to download a fully-functional 30-day trial.

ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
The Power Magazine for Microsoft Outlook and Exchange Users at OutlookPower.com
Copyright © 1998-2010, ZATZ Publishing. All rights reserved worldwide.
Outlook is a trademark of Microsoft Corporation.
Editor's Login