This community is for professionals and enthusiasts of our products and services.
Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.


outgoing smtp server: gmail v.s company own smtp server

Gordon Chow


I configured an Odoo 8 instance, using my company actual domain, and actual email user logins/passwords…

Config A…
1. Entered an as company email via "Configure your company data" in General Settings.
2. Applied my company's actual domain name as the Alias Domain in General Settings.
3. Restarted the instance after the steps above.
4. Created an outgoing SMTP using Deleted the localhost entry. There was only one outgoing mail server entry
5. Created 2 users' incoming mail servers entries, using users' actual company email accounts that exist in company mail server.
6. Applied the actual users' email addresses as Messaging Alias in the respective User Preference.
7. I did not delete mail.catchall.alias entry in system parameters.

With this config, I was able to successfully
a. Send Reset Password Instruction to users' company email accounts
b. Send a new email to the the 3rd gmail account from a user within Odoo.
c. Receive emails from a 3rd gmail account, to the 2 users' message inboxes within Odoo
d. Reply the emails sent by 3rd gmail account from user's message inboxes.

However, whenever I made just this change…
Config B…
1. Replaced the out outgoing mail server from to one of the users' valid company email accounts tested in Config A above, then
a. Failed: Send Reset Password Instruction to users' company email accounts
b. Failed: Send a new email to the the 3rd gmail account from a user within Odoo
c. Passed: Receive emails from a 3rd gmail account, to the 2 users' message inboxes within Odoo
d. Failed: the emails sent by 3rd gmail account from user's message inboxes failed.
2. The file attached is an error message when I attempted to Send Reset Password Instruction. All other action did not have any pop up messages. Only shown as a liner record showing Delivery Failed in General Settings->Email:Emails

When I reverted back to, then everything worked again.

My desire is to have external party sees my company domain in messages sent out from Odoo messaging, instead of seeing the account address. I was using company smtp server thinking that I could achieve this desire. May I know if there is anyone who could help, what can I do to achieve the stated desire.

Thank you in advance.


Gordon Chow
1 Answer
Best Answer

Hi Gordon,

Firstly, I think you have SMTP problem with your company email account which caused the connection issue in your Config B.

Secondly, I found you could misunderstand the design of the Odoo's email integration. You should neither add incoming/out going email per user/employee nor add personal emails as incoming/outgoing email.

The right and simple way of email integration is as follows:

  1. Set up a catch-all email at your email server, I assume it would be This catch all feature in the email server is a must-have requirement.
  2. Go to General Settings to set as the domain alias.
  3. Configure the as both incoming and outgoing email server within Odoo
  4. For each user, Messaging Alias must be specified in the user form. For example, John Doe may have john.doe as his messaging alias and Jane Roe may have jane.roe as her messaging alias which will "create" their business email as and corresponding.
  5. Let your employees know that their working email are and If business cards are printed, the working email for them should be /
  6. Ensure that and do NOT exist in your email server.
  7. Each user document is linked/related to a partner document which should be declared with a real email address. You have to define the real email address for each user in his/her related partner profile. It is usually a personal email address (e.g. or, etc)
How the above setting works and could help your company?
  1. When people send a message to an email address that does not exist in your email server, the message will be forwarded to thanks to catch-all feature of your email server
  2. Every 5 minutes (or more/less which can be configured within Odoo fetchmail action), Odoo will login your incoming email server (i.e. to fetch all email messages there.
  3. During the fetching process, Odoo check header of each email message which contains information about sender, recipient, message id, etc. If the Odoo found that the message is send to one of email alias (e.g. it will deliever the message to the right people at the right place, e.g. deliver to inbox of John Doe, attach message to the related document (sale order, invoice, manufacturing order, etc)
  4. The related people (including your employees and partners) will be notified about the new coming message with a copy sent to their personal mail box.
Hope the above could help and please revert if it works for you.
Comment Share

Hi David,

Thank you so much. Working now.
Really appreciate it.

Best regards,


You are welcome! I'm glad to here it works :)

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

Q&A Forum Regulations

Forum Regulations

By using the FAQ Forum on website, you unconditionally agree to the following terms:

    1. Q&A Forum is a discussion environment to support each other in Odoo/ERPOnline implementation, in the spirit of "community support community", with internet address at:

    2. You are thoroughly responsible for the content submitted by you.

    3. DO NOT use the Q&A Forum for any activities that violate Vietnamese law and International Conventions to which Vietnam is a participant.

    4. DO NOT post content that is offensive, defamatory, or discredits other individuals or legal entities.

    5. DO NOT post advertisements or advertising content.

    6. DO NOT post content that is not related to management software and ERP in general as well as OpenERP and in particular.

    7. DO NOT post copyrighted content or content, materials, products protected by Intellectual Property law without the written consent of the author.

    8. DO NOT embed images from other websites.

    9. You agree that all options, solutions, answers in the Q&A section on website are for reference only. website will not be liable if you have any damage when applying the plans given in the Q&A section on website.

These terms and conditions may be amended to suit reality at any time without prior notice.