コンテンツへスキップ
メニュー
この質問にフラグが付けられました
3 返信
16806 ビュー

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.
アバター
破棄
著作者 最善の回答

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

アバター
破棄
最善の回答

@Leonid, you are the man ! Thanks for your code

アバター
破棄
最善の回答

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

アバター
破棄
関連投稿 返信 ビュー 活動
2
3月 15
14193
14
5月 24
234331
2
3月 23
5948
1
5月 22
2613
1
11月 17
7988