Odoo Help

Welcome!

This community 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.

1

How to setup smtp send email for each user

By
Leonid Kurbatov
on 12/5/13, 3:54 AM 3,347 views

Hello! I'm fighting with email sending via smtp. My email provider needs per user authentification for outgoing emails.

Error log:

File "/opt/openerp/server/openerp/addons/base/ir/ir_mail_server.py", line 463, in send_email
    smtp.sendmail(smtp_from, smtp_to_list, message.as_string())

and server answer:

SMTPSenderRefused: 553
5.7.1 Sender address rejected: not owned by auth user.
0

Martin

--Martin--
1978
| 5 6 8
Cornwall, Canada
--Martin--

Analysing, designing, coding and mentoring since 1975. Kilobytes to terabytes. Punch cards to punchy sites. My OpenERP video series: http://www.youtube.com/playlist?list=PLq7op4J183lX44ZlXPiHxUpRvmmRDtxye My Google Speadsheets --> OpenERP Data Pump project: http://martinhbramwell.github.io/GData_OpenERP_Data_Pump My email (with spaces removed) : mhb . warehouseman @ gmail . com

Martin
On 12/5/13, 8:29 AM

Are you obligated to use that SMTP provider? If not, just use Google! It's free and probably about as reliable as you can get.

This video shows you the set up procedure, step by step : SMTP setup so as to invite UID/PWD users

I create small module, which allows to use different smtp settings for users: https://github.com/bamps/smtp-per-user

Leonid Kurbatov
on 12/22/13, 2:35 PM

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!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 12/5/13, 3:54 AM
Seen: 3347 times
Last updated: 3/16/15, 8:10 AM