How to force Outlook Send SMTP Mail Certain Account

Posted on 2006-04-03
Medium Priority
Last Modified: 2010-04-08
I have a customer who has an email account on his Exchange server and an external POP account.  He would like to use the Exchange server for internal communication only and force all SMTP mail to go out of the POP account.  I have set the POP account as a primary in Outlook and showed him how to use the accounts tab to send email out of the Exchange server account when he needs to but he would like to have Outlook automatically send all SMTP mail out of the POP account.  Do you have any suggestions?
Question by:wducote
  • 4
  • 3
LVL 76

Accepted Solution

David Lee earned 500 total points
ID: 16365270
Greetings, wducote.

There is no way I know of (I'm leaving room for an undocumented solution) to tell Outlook to send all external mail to POP and the internal to Exchange.  

LVL 17

Expert Comment

ID: 16368364
In Outlook by default, it is set to send (or send replies) an email through the same account as it was originally recieved from.

Not to mention th implications that are involved when a corpoarte email is answered through a pop account of which your client may already know about.

As far as I know also, there is no other way except how you had guided the client to do this, by manually selecting the account.

However thinking a bit constructively - this is at BlueDevilFan :
If say we use Outlook 2003, and create a rule after highlighting Outbox,

Apply This Rule After The Message Arrives
through the <users exchange account>
and on this machine only
Run a <SCRIPT>  - ****
Except if from <domain exchange users>

Could a script be created to change the originating account (FROM) from exchange to pop? It will not run if the recipient address is within the same Exchange domain.

Is the above possible?
LVL 76

Expert Comment

by:David Lee
ID: 16369228
Hi, upul007.

You've got an interesting idea there, but I don't think it will work with this question.  If I understand correctly, wducote's is talking about sending new messages, not replying to a message.  Rules only work with messages arriving in the Inbox or after sending.  After sending would be the closest to matching the condition for this question, but these rules fire after the message is gone, not as it's sending.  I thought about scripting and trapping the Send event which would give us a chance to inspect the message before it goes to the Inbox.  The problem though is what to do then.  If the message is addressed to a single recipient, then we'd have to determine if that recipient is in wducote's Exchange organization.  If they are, then we'd send through the Exchange account.  Otherwise, we'd send through the POP account.  There are a number of issues that'd have to be dealt with.  How do we determine who's in the Exchange organization?  The surest way would probably be to query Active Directory.  Or perhaps we could just look at the SMTP address and see if the domain matches the sender's domain.  Inspecting the address will trigger Outlook's built in security, so to avoid that we'd need a third-party tool.  Then there's the issue of sending from from a computer that didn't have this script on it, or sending from OWA.  This solution wouldn't work for either.  Finally, I'm not sure we can adjust the account a message is sent through in the Send event.  Frankly I've never tried doing that and don't know that Outlook exposes the necessary properties to make that possible.  There just is no good answer.  It would be nice if Microsoft would add this as a feature in a future version of Outlook.
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 17

Expert Comment

ID: 16369684
I have never set up a rule for the "Outbox", need to try that out.

Thanks BlueDevilFan for the explanation.


LVL 76

Expert Comment

by:David Lee
ID: 16370415

> Ayubowan!
LVL 17

Expert Comment

ID: 16377765
long life!

it is used as a greeting or farewell in my country to wish another a very long life.
LVL 76

Expert Comment

by:David Lee
ID: 16379343
Thanks for the explanation.

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you troubleshoot Outlook for clients, you may want to know a bit more about the OST file before doing your next job. IMAP can cause a lot of drama if removed in the accounts without backing up.
This article will help to fix the below errors for MS Exchange Server 2016 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses

807 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