SMTP Settings Office 365

784 views
Skip to first unread message

Scott Green

unread,
Nov 22, 2019, 2:19:44 PM11/22/19
to pwm-general
Has anyone been able to get the PWM application to send emails via Office 365 relay?  

I have tried the setup using StartTLS/AUTH/SSL and no luck.

Any help would be appreciated

Thanks,

Scott

Jason Rivard

unread,
Nov 22, 2019, 4:23:03 PM11/22/19
to pwm-general
Do you get an error?  What do you see in the logs?

Milton Ferreira

unread,
Apr 12, 2020, 6:30:52 AM4/12/20
to pwm-general
Hi!

I try use Office365 but i get these errors

2020-04-12T10:14:22Z, ERROR, email.EmailService, error sending email (5057 ERROR_SERVICE_UNREACHABLE (unable to reach any configured email server)) from: Change Password Notice <XXX@domain>, to: YYY@domain, subject: Password Change Notification, will retry 2020-04-12T10:14:22Z, ERROR, email.EmailService, 5057 ERROR_SERVICE_UNREACHABLE (unable to reach any configured email server) 2020-04-12T10:14:22Z, WARN , email.EmailService, 5057 ERROR_SERVICE_UNREACHABLE (unable to connect to email server 'id=default,host=smtp.office365.com,type=START_TLS,port=587,username=XXX@domain', error: javax.mail.MessagingException: Could not connect to SMTP host: smtp.office365.com, port: 587, cause:javax.net.ssl.SSLException: Unsupported or unrecognized SSL message)

Thanks Advance

Dianne Dunlap

unread,
Apr 12, 2020, 5:28:14 PM4/12/20
to pwm-general
Does smtp.office365.com resolve with 'nslookup smtp.office365.com'?
Can you enable telnet and try going out on port 587, like 'telnet smtp.office365.com'?  
If telnet sort of hangs there, you're probably hitting the server.
If you're hitting the server, does wireshark show you're getting a response from the server?

assis...@kevopartners.com

unread,
May 14, 2020, 8:02:49 AM5/14/20
to pwm-general
Hi, do you try this?

Annotazione 2020-05-14 140111.png

Annotazione 2020-05-14 140111.png

Dianne Dunlap

unread,
May 14, 2020, 8:05:02 AM5/14/20
to pwm-g...@googlegroups.com
These tests would be from the cmd prompt on a PC:
Does smtp.office365.com resolve with 'nslookup smtp.office365.com'?
Can you enable telnet and try going out on port 587, like 'telnet smtp.office365.com'?  
--
You received this message because you are subscribed to a topic in the Google Groups "pwm-general" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pwm-general/37oRFKXFiuA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pwm-general...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pwm-general/a27c14a3-9ae7-49dd-ab03-ccff013183e3%40googlegroups.com.


--
Dianne Dunlap
MCNC 919-248-8439
CCNA-R/S; CCNA-Wireless; CWNA

Reply all
Reply to author
Forward
0 new messages