Odoo Help

2 Answers
Leonid Kurbatov
12/22/13, 2:32 PM

I create small module for using different smtp settings for different users: github.com/bamps/smtp-per-user. Try it.

Gilles Lehoux
2/12/14, 12:47 PM

It would be easier for a lot of users if your module showed in the OpenERP module installation interface. Easier to install and also keep up to date with any future bug fixes. Is this possible for you? Are you planning on doing it soon? I'm curious as to what it takes for a programmer to have his work show up in the OpenERP interface. Anyway, thank you for your good work.

Leonid Kurbatov
2/13/14, 4:01 AM

Hi Gilles! Glad to see your interest! It is not possible to add module to http://apps.openerp.com now. Here comments: http://help.openerp.com/question/18074/how-to-add-my-module-on-appsopenerpcomapps/ . Of course I'm interested to use standart OpenERP way for distributing it.

Gilles Lehoux
2/15/14, 2:07 PM

I've downloaded the files from github and placed them in the addons folder. I updated the module list and then clicked "install" for the module. The module is now installed. I don't see any change to the OpenERP interface. Nothing under Settings > Technical > Email > Outgoing Mail Servers. Nothing in Settings > Users > Users > Username. Where in the menus can I enter smtp settings for each user?

Leonid Kurbatov
2/15/14, 5:05 PM

1) Install module. 2)Create or edit outgoing mail server: you should see "Owner" field. Here you point user for this smtp server. 3)After setup you should add Read Access to ir.mail_server for relevant user groups via OpenERP interface: Database Structure -> Models -> ir.mail_server -> Access Rights.

Mustafa Rawi
9/26/13, 9:49 PM

You don't need to set up a different SMTP for each user. OpenERP uses aliases. That means, if you set a domain in Settings > General Settings > Alias Domain to your_alias_domain.com, OpenERP will generate an alias for every user. If Jone Doe sends an email, OpenERP will send the email as if originated from jonedoe@your_alias_domain.com.

You can find a list of all aliases available in the system from the menu Settings > Technical > Email > Aliases. Hope this helps.

Leonid Kurbatov
12/5/13, 2:13 AM

Anyway, how to setup user depending smtp? Mail service requires correct user authentification for outgoing emails: SMTPSenderRefused: (553, '5.7.1 Sender address rejected: not owned by auth user.'

Gilles Lehoux
2/12/14, 12:43 PM

Our company uses Gmail. When an employee sends an email (through a browser or email client) then that email shows up in his "sent" folder on gmail. When an employee sends a purchase order or quote through OpenERP then he wants that email to show up in his gmail "sent" folder. If he sends that email through the company-wide smtp login then it won't show up in the individual's "sent" folder. The answer using aliases is attractive by its simplicity but can it be made to work in regards to the "sent" folder? Otherwise, the smtp_per_user module (mentioned below) seems to be the only solution.

Ask a Question
Keep Informed
3 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now