Office 365 SSL Error

Good morning,

When using a form I have the send simple email option and the same information works outside of script case but I get this error:

uncaught swift_transportexpection connection could not be established with host outlook.office365.com Closestream_socket_client(): SSL operation failed with code 1. OpenSSL Error

anyone run across this and know how to resolve?