SMTP Server Per User
Configure Odoo to use specific incoming and outgoing email server by user.
Create a outgoing SMTP server and set the owner.
Create a regular user, don't forget to set email alias equal to email server.
- Go to "Settings --> Technical --> General Settings" and set your domain in "Alias Domain" (ex: mydomain.com).
- Go to "Settings --> Technical --> Parameters --> System Parameters" and check if you have:
- Parameter key "mail.catchall.domain" must be same domain you give above (ex: mydomain.com).
- Parameter key "mail.catchall.alias" this is the catchall alias email (ex: catchall).
- 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: email@example.com).
- Catchall and bounce parameters can be the equal.
- Go to "Settings --> Technical --> Email --> Incoming Mail Servers", create catchall mail server (ex: firstname.lastname@example.org)
- If you have bounce parameter, go to "Settings --> Technical --> Email --> Incoming Mail Servers", create bounce mail server (ex: email@example.com)
- Go to "Settings --> Technical --> Email --> Incoming Mail Servers", create user mail server (ex: firstname.lastname@example.org)
- Go to "Settings --> Technical --> Email --> Outgoing Mail Servers", create outgoing SMTP server (ex: email@example.com). Select the user you previously created as owner.
- CONGRATULATION, you can now login as your new user and send emails, they will reach destination with the from and reply to as firstname.lastname@example.org. And on reply you will get them in same entity from where you've sent it.
- You should create an income and outgoing email server for each user.
- 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 email@example.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.
Thanks ThinkOpen Solutions, works like described!