Jorge Hernandez - 2014-02-27 16:57:54
I'm testing this class to send emails via Office 365 using
Host name: smtp.office365.com
Port: 587
Encryption: TLS
Username: email
But I'm getting this:
Resolving SMTP server domain "smtp.office365.com"...
Connecting to host address "132.245.8.166" port 587...
Connected to SMTP server "smtp.office365.com".
S 220 BLUPR03CA036.outlook.office365.com Microsoft ESMTP MAIL Service ready at Thu, 27 Feb 2014 16:43:39 +0000
C EHLO localhost
S 250-BLUPR03CA036.outlook.office365.com Hello [xxx.xxx.xxx.xxx]
S 250-SIZE 78643200
S 250-PIPELINING
S 250-DSN
S 250-ENHANCEDSTATUSCODES
S 250-STARTTLS
S 250-8BITMIME
S 250-BINARYMIME
S 250 CHUNKING
C STARTTLS
S 220 2.0.0 SMTP server ready
Starting TLS cryptograpic protocol
Could not send the message to user@gmail.com. Error: could not start TLS connection encryption protocol
I waqs told before not to use STARTTLS but use TLS, does this class do that?
Thanks.