تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
1294 أدوات العرض

I'm struggling to set up an outgoing mailserver with Office 365 using oauth as described in the docs.


Normally, O365 uses port 587 & STARTTLS. When I click test, then I see this error message:


Invalid Operation
An option is not supported by the server: STARTLS extension not supported by server 


So I change it to SSL/TLS and I got this error which contradicts the previous one.


Invalid Operation
Incorrect Connection Security for Outlook mail server "outlook". Please set it to "TLS (STARTLS)".

So in the end, I tried port 465 & STARTTLS which leads to a timeout (which is excpected as to my knowledge O365 doesn't support this).

Has anyone succeeded to succesfully setup outgoing mailservers with O365? 


Fyi:

  • I'm using smtp.office365.com as server
  • Firewall is set up accordingly
  • Incoming mails are working 



الصورة الرمزية
إهمال
أفضل إجابة

Hi,

what do you use as SMTP server domain?

are you sure SMTP server supports STARTTLS on the M365 side?

Are you able to pass the Oauth approval steps and fetch the token through the App you have created in Entra ID?

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
3
فبراير 25
1558
1
أبريل 25
726
0
فبراير 25
800
0
مارس 15
5367
1
أغسطس 25
295