Unable to setup SMTP with Enewsletter

I am using enewsletter and unable to setup the SMTP settings. When testing the connection it shows:

Member is using office365 for SMTP

This is the error: Failed to send test email! – Please check your outgoing email settings and server config to see if selected ports are open.