I have ready it, but I cannot connect to Hotmail with these SMTP & SASL class... Can you give me an example, please?
I try with test_smtp file:
$smtp->host_name="smtp.live.com";
$smtp->host_port=587; /*Or port 25... same results*/
$smtp->ssl=0;
$smtp->start_tls=1;
$smtp->localhost="localhost";
$smtp->direct_delivery=0;
$smtp->timeout=10;
$smtp->data_timeout=0;
$smtp->debug=1;
$smtp->html_debug=1;
$smtp->pop3_auth_host="pop3.live.com";
$smtp->user="
[email protected]";
$smtp->realm="
[email protected]";
$smtp->password="my_password";
$smtp->workstation="";
$smtp->authentication_mechanism="";
I change pop3 port to 995, and with $smtp->ssl=1; I can connect to POP3 and it say that I have X emails in my box. But it cannot connect to SMTP server: "Cound not send the message to
[email protected]. Error: could not connect to the host "smtp.live.com": Connection refused"
And with $smtp->ssl=0; it say: "Cound not send the message to
[email protected]. Error: it was not possible to read line from the SMTP server: data access time out"
With empty pop3_auth_host: "Cound not send the message to
[email protected]. Error: could not connect to the host "smtp.live.com": Connection refused"
Where is my configuration error?
Thanks you very much for your help.