Skip to Content
Menu
This question has been flagged

I am getting this failure reason for some of the emails from the Odoo 11 while sending.


Mail Delivery Failed Mail delivery failed via SMTP server 'None'. SMTPDataError: 554 5.2.252 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message. 0.35250:40002181, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:19320000, 1.36674:0E000000, 1.61250:00000000, 1.45378:1E320000, 1.44866:74010000, 16.55847:7A1B0000, 17.43559:0000000024020000000000000100000000000000, 20.52176:140F15911A00103100000000, 20.50032:140F15918A17000000000000, 0.35180:140F1591, 255.23226:02013581, 255.27962:0A000000, 255.27962:0E000000, 255.31418:1F003681, 0.35250:00000000, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:94000000, 1.36674:32000000, 1.61250:00000000, 1.45378:99000000, 1.44866:01000000, 16.55847:00010000, 17.43559:00000000B8030000000000002C00000000000000, 20.52176:140F15911A0070201F005C81, 20.50032:140F15918A17101009600000, 0.35180:1F005D81, 255.23226:71490000, 255.27962:0A000000, 255.27962:32000000, 255.17082:DC040000, 0.27745:43600000, 4.21921:DC040000, 255.27962:FA000000, 255.1494:4B600000, 0.38698:05000780, 1.41134:46000000, 0.37692:86000000, 0.44092:86000000, 0.41232:38000100, 0.60208:38000100, 0.37136:86000000, 0.34608:86000000, 0.55056:86000000, 0.42768:86000000, 0.56112:86000000, 0.52807:86000000, 1.41134:46000000, 7.36354:010000000000010986000000, 4.33016:DC040000, 7.40748:010000000000010B0F010480, 7.57132:00000000000000000F010480, 1.63016:32000000, 4.39640:DC040000, 8.45434:60052EA5FE7E494DB03175411C9D9DFD86000000, 1.46798:04000000, 5.10786:0000000031352E32302E343337332E3032363A414D30505230354D42343632353A64653262363938622D393638622D343938622D383237612D3531666138393830656565313A313338363800, 7.51330:CC8748454A56D90800000000, 0.39570:02000004, 1.55954:0A000000, 0.49266:56000000, 1.33010:0A000000, 2.54258:00000000, 0.40002:7A000000, 1.56562:00000000, 1.64146:32000000, 1.33010:32000000, 2.54258:DC040000, 255.1750:03009581, 255.31418:7E500000, 0.22753:8E620000, 255.21817:DC040000, 0.64418:94500000, 4.39842:DC040000, 0.41586:0201A181, 4.60547:DC040000, 0.21966:9E620000, 4.30158:DC040000 [Hostname=AM0PR05MB4625.eurprd05.prod.outlook.com]


The Recipients address is correct and I verified that.

SMTP server - smtp.office365.com

SMTP Port - 587

Connection Security - TLS (STARTTLS)

Avatar
Discard
Author

Yes, that's the login user's email and name. I will try to change that also.

Author

Hello,

We have fixed it by changing the user's MAIL_FROM_ADDRESS and MAIL_USERNAME to the outgoing email address in the Email templates.
Thank you, Mr. Mat, for the hint.

Where can i find the Mail Template for outgoing emails? I guess i need to update the MAIL_FROM_ADDRESS 

Author

Enable Debug Mode
Settings-> Technical-> Email Templates

How to set up MAIL_FROM_ADDRESS and MAIL_USERNAME  in odoo ?

Best Answer

Hi, have You set up MAIL_FROM_ADDRESS and MAIL_USERNAME?

Avatar
Discard
Best Answer

You could also make an automated action (Technical - Automated Actions) similar to this:

Just change the related document model to what you need:


Avatar
Discard
Related Posts Replies Views Activity
4
Mar 24
21885
3
Mar 25
4198
1
Jul 24
1518
2
Jun 24
14977
3
Jun 24
154