Solved

Easy way to change SMTP server in Outlook?

Posted on 2004-10-19
9
1,036 Views
Last Modified: 2012-06-27
I'm a laptop user, and I use Outlook 2003 as my primary e-mail client for POP e-mail (not Exchange).  The issue is that I move daily between my home network and other random networks (I'm a freelance consultant).  Because my fascist home cable ISP (I don't have a choice... it's the only broadband option) only allows outbound SMTP mail through their own SMTP server, I *have* to use their smtp server when I'm at home.  However, when I'm away from home, I have to use a different SMTP server, since fascist ISP doesn't allow even authenticated relaying.

The "approved" way to do this is to go into Tools - Accounts, and change the SMTP server and SMTP authentication settings.  Believe me, I know how to do this.  But it's a pain in the neck.... I've counted, and it takes 12 clicks to change a single account.  The problem is that I've got several different e-mail accounts, so it's a real pain each time I switch networks.
 
I've looked for utilities which do this, but have only found one that works with Outlook Express.  I've tried to figure out the registry settings Outlook uses to store SMTP server information so I could write a quick script, but it doesn't appear to store this information in the registry (couldn't find it searching with regedit, and using regmon from sysinternals.com, I determined that Outlook makes no registry writes when you edit account settings).

Yes, I know that there are companies that provide SMTP relaying services on ports other than 25 that will bypass the ISP's filters, but I'm tired of little monthly fees (I already pay for web hosting and such), and I'm not sure I trust someone who's doing it for free.

Ideally, I just want to click on an icon to change SMTP settings.  So... any gurus (or better googlers than I) know a solution?  No, switching away from Outlook isn't an option... I use many Outlook features not found in other POP clients for managing my business.

-R
0
Comment
Question by:robertdana
  • 3
  • 3
  • 2
9 Comments
 
LVL 49

Expert Comment

by:sunray_2003
Comment Utility
Hi robertdana,
> I've counted, and it takes 12 clicks to change a single account.

Interesting.. I am going to look for any solution for you but not sure why it is taking 12 clicks.
btw, where are you starting to count the clicks..

I can do in 6 steps if outlook is open
tools  -- 1
Email accounts -- 2
view or change existing email accounts   -- 3
Next ---- 4
double-click on the account name --- 5
change the outgoing server ---- 6

and then 7 and 8 clicks to come out..

Just a suggestion
SR..
0
 
LVL 21

Accepted Solution

by:
traval earned 250 total points
Comment Utility
I can name that solution in 2 clicks!!!!

.....well, two clicks that you aren't already taking, so let's say "I can name that solution in 2 extra clicks"


1.  Create a different profile for each location that you are at.  Name the profile by the location (ie home, work, whatever)

2.  Include the path to the PST file you are already using in each of the profiles.  Now anything you do in one profile will be visible in the other profiles.

3.  Copy the same account information into each profile, but set the "default" account differently in each profile.  The default account is the account that email will be sent out of unless you tell Outlook differently

4.  Set outlook to prompt you for the profile to use when starting.

Now when you start Outlook (using whatever method you prefer) you will get a small popup asking what profile you want.  Choose the profile (click #1) and then click on OK (click #2) and then you are in Outlook, it is configured to send email correctly thru the desired SMPT server, it can check for incoming email from all email accounts, and any items sent/received/created/deleted etc will be seen in the other profiles when you log into them from another location.

A less complicated solution but which requires more work each time you send a message, click OPTIONS, and check the option to include the FROM field.
0
 
LVL 49

Expert Comment

by:sunray_2003
Comment Utility
traval,

You are outlook GOD.. Man , Why did I not even think about this.. damn..

Super .. Super...
0
 
LVL 49

Expert Comment

by:sunray_2003
Comment Utility
traval,

Do you think this will work ?

let us say there is just one profile
create 2 accounts in there in which the difference between those 2 accounts is that both has different smtp server info.

pop1
pop2

when he logs in , he can go to
tools --> send/receive settings --> define send/receive groups --> double-click on All accounts
and disable send and receive items on one of the accounts....

0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
LVL 1

Author Comment

by:robertdana
Comment Utility
Getting closer!

Re: 12 clicks: I have to turn on user authentication for the SMTP server I use when I leave the office, and turn it back off again when I come back.  That's where the extra clicks come from.

Re: traval's innovative solution.  Very clever!  But I'm not sure I understand entirely... is the purpose of using different profiles to allow me to switch between default accounts, or are the accounts created in the profiles entirely separate?  I ask because simply switching between default accounts isn't helpful... I regularly send e-mail from four different addresses.  But if I could have the same accounts in each profile, just with different SMTP settings, that would work... I'm already switching accounts for each e-mail (based on which address it is supposed to come from).

Your mention of profiles also got me doing some additional searches to try to figure out where profile configuration information is stored, and I ran into this web page:

http://www.outlook-tips.net/howto/prf.htm

It describes how a tool in the Outlook Resource Kit from MS can be used to create "PRF" files that can be used to create and modify profiles.  So this looks to be another solution... I could create two different PRF files that modify the appropriate settings in the appropriate accounts, and then set up a couple of scripts that would apply the appopriate one based on which location I'm at.  But I'm not sure if that gets me anything that your profile solution doesn't.

Of course, it would be really cool if I didn't have to close all my Outlook windows to change locations... I bet there's a way to do it in VB.  Anyone?

-R
0
 
LVL 21

Expert Comment

by:traval
Comment Utility
No, you don't want to use the Outlook Resource Kit (ORK) for this issue, that is for deploying profiles to large numbers of users, who connect to an exchange server in a corporate environment.

There is no connection between the accounts in one profile, and an account in a different profile with all of the exact same information.  So yes, the difference can just be that the SMTP server name is different.

The reason I mentioned "default" account is because that, if you have more than one internet email account in a profile, all messages will be sent thru the default account (if possible) unless you go thru the steps you don't want to go thru to change how the message gets sent.

Easy way to set this up is to go to the mail icon on the control panel and go to profiles.  Copy the existing profile and give it the name of one of the locations you will be sending from.  Now that profile will have your PST and all of your accounts in it.  Change the SMTP for the profile so it sends correctly, and you are done with that profile.  Now if you need to configure a new location setup, copy the profile, name it for the new location, and change the SMTP setting for it as well.

Really, it takes about 2 minutes to copy the profile, change the SMTP server name, and test sending email with it.  Just give it a try and post back if you have problems.
0
 
LVL 21

Expert Comment

by:traval
Comment Utility
While I feel that I included a full and detailed solution that automatically has Outlook configured to use the appropriate SMTP server at various locations, if this isn't working for you it is your responsibility to post back to let us know.  So I don't understand the "b".
0
 
LVL 1

Author Comment

by:robertdana
Comment Utility
Sorry bout that... just read the grading guidelines (i'm a relative newbie here), and didn't understand the institutionalized grade inflation practiced here when I closed this.  My bad, I've asked community support to bump it up.

-R
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Granting full access permission allows users to access mailboxes present in their database. By giving full access permission one can open and read the content of any mailbox but cannot send emails from that mailbox.
Resolve DNS query failed errors for Exchange
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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 …

771 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

12 Experts available now in Live!

Get 1:1 Help Now