Virtual Brain Online Logo

Bookmark: Root \ Windows \ Different SMPT Servers with Outlook

Different SMPT Servers with Outlook


Last Updated:

To use different SMTP servers in Outlook you need to configure Outlook to use "SMTPSERVER" as it's outgoing mail server. Then you create batchs files that whill replace the Windows hosts file. Each batch file has the IP for one of the proper SMTP servers in it, listed under SMTPSERVER.

Example:

EarthlinkOutlook.bat
cd C:\WINDOWS\system32\drivers\etc
copy hosts-earthlink.txt hosts
ipconfig /flushdns
"C:\Program Files\Microsoft Office\OFFICE11\OUTLOOK.EXE"

hosts-earthlink.txt
127.0.0.1 localhost
209.86.93.211 SMTPSERVER

ComcastOutlook.bat
cd C:\WINDOWS\system32\drivers\etc
copy hosts-comcast.txt hosts
ipconfig /flushdns
"C:\Program Files\Microsoft Office\OFFICE11\OUTLOOK.EXE"

hosts-comcast.txt
127.0.0.1 localhost
204.127.202.27 SMTPSERVER
Originally Posted by Skylinux @ 2006-06-29 16:27:23

 

Comment array mismatch, this is very bad.1.0..0.1