Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Mail
  3. SMTP Server Per User v 9.0
  4. Sales Conditions FAQ

SMTP Server Per User

by TKOPEN https://tkopen.com
Odoo

$ 22.25

v 8.0 v 9.0 v 10.0 v 11.0 v 12.0 Third Party 50
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Technical Name tko_mail_smtp_per_user
LicenseAGPL-3
Websitehttp://tkobr.com
Versions 8.0 9.0 10.0 11.0 12.0 15.0
You bought this module and need support? Click here!

SMTP Server Per User


Configure Odoo to use specific incoming and outgoing email server by user.


Owner of SMTP Server

Create a outgoing SMTP server and set the owner.

User SMTP Server

Create a regular user, don't forget to set email alias equal to email server.

New in 1.0 --> 2.0:
Automatic outgoing SMTP mail server detection: Through the [From] address of outgoing message, Odoo will select correct outgoing SMTP mail server to send email. This way if there is a SMTP mail server equal to the current user email, Odoo will use that outgoing email server to send the email.
Template compatibility: If one sets From field in the email template Odoo will send that email from that outgoing SMTP server, if defined, if not it will use standard mail.catchall.alias system parameter and outgoing email servers priority.
NOTE: Don't forget, now you need to set explicitly the From and Reply-to fields in all email templates. And create always the incoming mail server of the respective outgoing one.
The Reply-to will always be equal to From email (even if defined in template Reply-to field) if an outgoing email server is defined, if not it will use standard mail.catchall.alias system parameter, like in standard Odoo.
Backward compatibility:

  1. All fields are kept in database, although not shown in forms, until new version is released. No data will be lost, and one can revert to older module version. NOTE: They will be removed in 3.0 version.

New in 0.006 --> 1.0:
The module set following HEADERS according to user SMTP server:

  1. From: UserName <SMTP_Server_User_Name_Email>
  2. Reply-To: UserName <SMTP_Server_User_Name_Email>
  3. Return-Path: UserName <SMTP_Server_User_Name_Email>
This will fix a problem connecting to servers like for example Zoho. But will override email templates From and Reply-to definitions.

Configuration:

  1. Go to "Settings --> Technical --> General Settings" and set your domain in "Alias Domain" (ex: mydomain.com).
  2. Go to "Settings --> Technical --> Parameters --> System Parameters" and check if you have:
    1. Parameter key "mail.catchall.domain" must be same domain you give above (ex: mydomain.com).
    2. Parameter key "mail.catchall.alias" this is the catchall alias email (ex: catchall).
    3. Parameter key "mail.bounce.alias" this is the bounce alias email (ex: bounce). The default bounce address is used to set the envelop address if no envelop address is provided in the message. It is formed by properly joining the parameters "mail.catchall.alias" and "mail.catchall.domain". If "mail.catchall.alias" is not set it defaults to "postmaster-odoo". NOTE: use with care, some relay servers will not forward emails with no bounce email account configured and Odoo does this dynamically (ex: bounce-16-res_partner34@yourdomain.com).
    4. Catchall and bounce parameters can be the equal.
  3. Go to "Settings --> Technical --> Email --> Incoming Mail Servers", create catchall mail server (ex: catchall@mydomain.com)
  4. If you have bounce parameter, go to "Settings --> Technical --> Email --> Incoming Mail Servers", create bounce mail server (ex: bounce@mydomain.com)
  5. Go to "Settings --> Technical --> Email --> Incoming Mail Servers", create user mail server (ex: newuser@mydomain.com)
  6. Go to "Settings --> Technical --> Email --> Outgoing Mail Servers", create outgoing SMTP server (ex: newuser@mydomain.com). Select the user you previously created as owner.
  7. CONGRATULATION, you can now login as your new user and send emails, they will reach destination with the from and reply to as newuser@mydomain.com. And on reply you will get them in same entity from where you've sent it.
  8. You should create an income and outgoing email server for each user.
  9. You can still use Odoo in the standard way, and only some users having specific SMTP email server. It will only set the emails sent by users with specific email server.

Developed for Odoo by Thinkopen Solutions Brasil

You Can't Even Imagine...

support at sac@tkobr.com

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
  • Ratings
  • Discuss
Great Module!
by
Alexandre Ruffer
on 8/18/16, 1:58 PM

Works like a charm, thanks!


same outgoing server for several users
by
Jean-Marc Dupont
on 12/5/16, 6:17 AM

Hi, If we want to specify the same outgoing server for several users, do we have to duplicate the outgoing server, and specify the "owner" on each duplicated server ?


Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with