Office 365 email Connection

Good morning,

I am using the simple SMTP form the just test email settings and I am getting this error

Uncaught Swift_TransportException: Connection could not be established with host smtp.office365.com

I know the username and password are correct, as well as the port needed (587). I am wondering if I am missing something or if this is a limitation of me running SC off of my laptop using MAMP.

Thanks,

Can you connect to smtp.office365.com from outside ScriptCase, from the same machine, from the same IP address, using the same firewall, on the same port, using the same authentication settings?

If the answer is yes, then ScriptCase has a bug.
Otherwise, you have more work to do that has nothing to do with ScriptCase.

Amazon’s AWS doesn’t always allow you to send SMTP, or they’ll limit you to one SMTP connection every 5 minutes. So, a test works. Then fails, fails, fails, WORKS! Fails, fails, fails…

Try to diagnose that nonsense and not bang your head against a wall!

Good morning,

That sounds like fun with AWS!

I will give what you suggested a shot. I can say that I have used these settings in other programs for another 365 account hosted by the same provider and it works fine.

I tried from a differnet physical location and I get this now:

Error
stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
stream_socket_client(): Failed to enable crypto
stream_socket_client(): unable to connect to ssl://smtp.office365.com:587 (Unknown error)

However, per your suggestion, I will verify a few things from my original location.