Manuel Lemos - 2014-10-14 22:31:22 -
In reply to message 2 from Manuel Lemos
So you know, I tried to send a delivery with following settings and it went well as expected:
$smtp->host_name="smtp.live.com";
$smtp->host_port=587;
$smtp->ssl=0;
$smtp->start_tls=1;
$smtp->user="someuser@hotmail.com";
$smtp->realm="";
$smtp->password="somepassword";
Resolving SMTP server domain "smtp.live.com"...
Connecting to host address "65.55.176.126" port 587...
Connected to SMTP server "smtp.live.com".
S 220 BLU436-SMTP259.smtp.hotmail.com Microsoft ESMTP MAIL Service, Version: 8.0.9200.16384 ready at Tue, 14 Oct 2014 15:26:01 -0700
C EHLO localhost
S 250-BLU436-SMTP259.smtp.hotmail.com Hello [187.39.26.226]
S 250-TURN
S 250-SIZE 41943040
S 250-ETRN
S 250-PIPELINING
S 250-DSN
S 250-ENHANCEDSTATUSCODES
S 250-8bitmime
S 250-BINARYMIME
S 250-CHUNKING
S 250-VRFY
S 250-TLS
S 250-STARTTLS
S 250 OK
C STARTTLS
S 220 2.0.0 SMTP server ready
Starting TLS cryptograpic protocol
TLS started
C EHLO localhost
S 250-BLU436-SMTP259.smtp.hotmail.com Hello [187.39.26.226]
S 250-TURN
S 250-SIZE 41943040
S 250-ETRN
S 250-PIPELINING
S 250-DSN
S 250-ENHANCEDSTATUSCODES
S 250-8bitmime
S 250-BINARYMIME
S 250-CHUNKING
S 250-VRFY
S 250-AUTH LOGIN PLAIN XOAUTH2
S 250 OK
C AUTH LOGIN
S 334 XXXXXXXXXXXX
C YYYYYYYYYYYYYYYYYYYYYYYYY==
S 334 ZZZZZZZZZZZZ
C WWWWWWWWWWWWWWWW=
S 235 2.7.0 Authentication succeeded
C MAIL FROM:<someuser@hotmail.com>
C RCPT TO:<recipient@gmail.com>
C DATA
S 250 2.1.0 someuser@hotmail.com....Sender OK
S 250 2.1.5 recipient@gmail.com
S 354 Start mail input; end with <CRLF>.<CRLF>
C From: someuser@hotmail.com
To: recipient@gmail.com
Subject: Testing Manuel Lemos' SMTP class
Date: Tue, 14 Oct 2014 19:26:00 BRT
C Hello recipient@gmail.com,
It is just to let you know that your SMTP class is working just fine.
Bye.
C
.
S 250 2.6.0 <BLU436-SMTP259oygXL00019c6b@BLU436-SMTP259.smtp.hotmail.com> Queued mail for delivery
C QUIT
S 221 2.0.0 BLU436-SMTP259.smtp.hotmail.com Service closing transmission channel
Disconnected.
Message sent to recipient@gmail.com OK.