Technical Mailinglisten Archive

technical@mail.odoo.com

Avatar

Re: Problem Configure Emails to work with Office 365 and Odoo

durch
VentorTech, Oleg Kuryan
- 22.04.2018 13:21:53

Adrian,


Are you sure you followed the article fully. This described setup is working in prod for several our customers .

From error below I can just guess that: when configuring outgoing mail server in Odoo you entered username and password. But you shouldn't if you did all according to article 

But that is just only guessing and quick googling your error. There is lots of info in internet about it.

On Sun, Apr 22, 2018, 8:10 PM Adrian Lara <adrianlaraperez88@gmail.com> wrote:


Same error:

SMTPDataError: 550
5.7.60 SMTP; Client does not have permissions to send as this sender [MWHPR12MB1582.namprd12.prod.outlook.com]
2018-04-22 17:02:45,759 24771 ERROR demo4_19 odoo.addons.mail.models.mail_mail: failed sending mail (id: 3) due to Mail Delivery Failed


Mail delivery failed via SMTP server 'None'.

SMTPDataError: 550
5.7.60 SMTP; Client does not have permissions to send as this sender [MWHPR12MB1582.namprd12.prod.outlook.com]


Traceback (most recent call last):

  File "/home/odoo/odoo-11.0/odoo/addons/base/ir/ir_mail_server.py", line 458, in send_email
    smtp.sendmail(smtp_from, smtp_to_list, message.as_string())
  File "/usr/lib/python3.5/smtplib.py", line 883, in sendmail
    raise SMTPDataError(code, resp)
smtplib.SMTPDataError: (550, b'5.7.60 SMTP; Client does not have permissions to send as this sender [MWHPR12MB1582.namprd12.prod.outlook.com]')

During handling of the above exception, another exception occurred:



Traceback (most recent call last):
  File "/home/odoo/odoo-11.0/addons/mail/models/mail_mail.py", line 326, in _send
    msg, mail_server_id=mail.mail_server_id.id, smtp_session=smtp_session)
  File "/home/odoo/odoo-11.0/odoo/addons/base/ir/ir_mail_server.py", line 467, in send_email
    raise MailDeliveryException(_("Mail Delivery Failed"), msg)

odoo.addons.base.ir.ir_mail_server.MailDeliveryException: ('Mail Delivery Failed', "Mail delivery failed via SMTP server 'None'.\nSMTPDataError: 550\n5.7.60 SMTP; Client does not have permissions to send as this sender [MWHPR12MB1582.namprd12.prod.outlook.com]")


On 04/20/18 04:45, Oleg Kuryan wrote:
Hi Adrian,


In brief:
- Configure Outgoing mail Server in Office 365 as Relay Server
- Configure Catchall Email in Office 365
- Install Odoo module to inform users that they used the wrong email
- Configure Outgoing Mail Server in Odoo
- Configure Incoming Mail Server in Odoo
- Test Odoo ERP Emailing Setup


On Fri, Apr 20, 2018 at 11:40 AM Khaled Hamed <khaled.hamed@grandtk.com> wrote:
Hello, 

The issue related to the mail service which prevents to use different mail accounts  as a sender other than the configured on outgoing email.

 Normally, you need an account type (service account) which accepts to relay on behalf of the senders. Or accept the IP address of odoo server with no account if possible

On Fri, Apr 20, 2018, 5:40 AM Adrian Lara <adrianlaraperez88@gmail.com> wrote:

Dear team,


I need configure emails to work with Office 365 and Odoo(AWS). In office 365 the conector is done.


Error:


Traceback (most recent call last):
  File "/home/odoo/odoo-11.0/addons/mail/models/mail_mail.py", line 326, in _send
    msg, mail_server_id=mail.mail_server_id.id, smtp_session=smtp_session)
  File "/home/odoo/odoo-11.0/odoo/addons/base/ir/ir_mail_server.py", line 467, in send_email
    raise MailDeliveryException(_("Mail Delivery Failed"), msg)
odoo.addons.base.ir.ir_mail_server.MailDeliveryException: ('Mail Delivery Failed', "Mail delivery failed via SMTP server 'None'.\nSMTPDataError: 550\n5.7.60 SMTP; Client does not have permissions to send as this sender [xxxxxxxx.prod.outlook.com]")


On 04/16/18 22:00, Phạm Đức Toàn wrote:

Dear team,

 

Base on new function of Odoo 11, POS – screen for customer, we try to connect LCD screen with POS box and config an Youtube video for customer. But this function is not reasonable:

-          Every time we add new product in sale, the video is restart. We well know that the sale will be very fast for many items.

So, it’s very hard to add some advertisement here actually.

-          Now it come to use a static picture, or very short animation only

Please check

 

Thank you

=====================================================================

Pham Duc Toan, PMP - MBA

HCS Vietnam Co.Ltd

Address: 5F, Simco Building, 28 Pham Hung Str, Nam Tu Liem, Hanoi.

Website: http://hcs-vietnam.com.vn/

Mobile: (+84)9886574434

Email: toan.pd@hcs-vietnam.com.vn

 

_______________________________________________
Mailing-List: https://www.odoo.com/groups/technical-62
Post to: mailto:technical@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/technical-62
Post to: mailto:technical@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

_______________________________________________
Mailing-List: https://www.odoo.com/groups/technical-62
Post to: mailto:technical@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

--
///

Best Regards,
Oleg Kuryan


Technical Director, XPANSA Group | ERP, BI, E-commerce, Data Mining and DMS consulting
Xpansa has developed first full Odoo Android App called mERP. Download at https://play.google.com/merp
/// site  : xpansa.com
/// mail  : oleg.kuryan@xpansa.com
/// phone : +375293358638
/// skype : kuryan.
oleg

_______________________________________________
Mailing-List: https://www.odoo.com/groups/technical-62
Post to: mailto:technical@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/technical-62
Post to: mailto:technical@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

--
///

Best Regards,
Oleg Kuryan


Technical Director, XPANSA Group | ERP, BI, E-commerce, Data Mining and DMS consulting
Xpansa has developed first full Odoo Android App called mERP. Download at https://play.google.com/merp
/// site  : xpansa.com
/// mail  : oleg.kuryan@xpansa.com
/// phone : +375293358638
/// skype : kuryan.
oleg

Kundennummer