跳至内容
菜单
此问题已终结
4 回复
8821 查看

Hello,

So I set up an smtp server for outgoing email in my project (odoo sh) the test is working good,

the emails are sending in my local even with mailtrap

But in the odoo sh instance it showing thi error:

Mail Delivery Failed Mail delivery failed via SMTP server 'None'. SMTPDataError: 554 5.2.0 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message. 0.35250:0A00C789, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:9C2C0000, 1.36674:0E000000, 1.61250:00000000, 1.45378:A12C0000, 1.44866:10010000, 16.55847:B8170000, 17.43559:0000000024020000000000000000000000000000, 20.52176:140F518C1D00103100000000, 20.50032:140F518C8D17000000000000, 0.35180:140F518C, 255.23226:0A00C989, 255.27962:0A000000, 255.27962:0E000000, 255.31418:0A00CA89, 0.35250:1F001432, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:44000000, 1.36674:32000000, 1.61250:00000000, 1.45378:49000000, 1.44866:01000000, 16.55847:B0000000, 17.43559:0000000070030000000000000000000000000000, 20.52176:140F518C1D00101053000000, 20.50032:140F518C8D1700007B2A0000, 0.35180:58000000, 255.23226:4800D13D, 255.27962:0A000000, 255.27962:32000000, 255.17082:DC040000, 0.27745:852A0000, 4.21921:DC040000, 255.27962:FA000000, 255.1494:B62A0000, 0.38698:05000780, 0.37692:01000000, 0.37948:0F010480, 5.33852:00000000534D545000000000, 7.36354:010000000000010900000000, 4.56248:DC040000, 7.40748:010000000000010B0D000000, 7.57132:000000000000000000000000, 1.63016:32000000, 4.39640:DC040000, 8.45434:9A55EA236D76E041AD62F3CD6F67B7BD00000000, 5.10786:0000000031352E32302E333135332E3032393A564531505230384D42343735313A34386361343131662D343564332D343336332D393935332D643433613565333833363530000010BE000000, 7.51330:42DE51235122D80800000000, 0.39570:00000000, 1.55954:0A000000, 0.49266:02000000, 1.33010:0A000000, 2.54258:00000000, 0.40002:7A000000, 1.56562:00000000, 1.64146:32000000, 1.33010:32000000, 2.54258:DC040000, 255.1750:AF000000, 255.31418:0A005D36, 0.22753:B42C0000, 255.21817:DC040000, 0.64418:0A00F565, 4.39842:DC040000, 0.41586:B9000000, 4.60547:DC040000, 0.21966:162D0000, 4.30158:DC040000 [Hostname=VE1PR08MB4751.eurprd08.prod.outlook.com]

Any idea about this ? Am I missing something !

形象
丢弃

Have you solved this?

Has this been resolved by any chance please, and if so could you please share how?

最佳答案

https://www.odoo.com/documentation/user/13.0/discuss/advanced/email_servers.html

This link says "Office 365 SMTP relays are not compatible with Odoo Online."

It is hard to tell from the error message if you are trying to use smtp.office365.com, but the error you are getting (SMTP server 'None') is the same error I got when trying to set up an O365 relay.


形象
丢弃
最佳答案

Hello,

You have to enable SPF & DKIM in order for it to work. Read the documentation on the link below
https://www.odoo.com/documentation/user/13.0/discuss/advanced/email_servers.html#how-to-use-a-g-suite-server

Office 365 email servers don’t allow easily to send external emails from hosts like Odoo. Refer to the https://support.office.com/en-us/article/How-to-set-up-a-multifunction-device-or-application-to-send-email-using-Office-365-69f58e99-c550-4274-ad18-c805d654b4c4
to make it work.


形象
丢弃
相关帖文 回复 查看 活动
2
9月 23
2851
3
8月 23
25713
1
7月 25
1671
4
4月 25
11990
1
2月 25
3391