|
 M F - 2013-05-29 00:43:43
Hello,
Great script, but it seems that smtp.live.com refuses any connections. I have tried other scripts that also work well with TLS and Gmail, same result.
Any ideas?
Thanks !
 Manuel Lemos - 2013-05-29 01:37:27 - In reply to message 1 from M F
Did you try using port 587?
 M F - 2013-05-29 01:53:32 - In reply to message 2 from Manuel Lemos
Hello,
Yes, tried all combinations:
Ports: 25, 465, 587
SSL/TLS/none
Seems smtp.live.com just refuses the connection on their end. I don't think it's the script, unless live now requires some token to validate a 'device' of sorts...
 Manuel Lemos - 2013-05-29 02:21:49 - In reply to message 3 from M F
You may be blocked by a firewall in the network that you are sending the message from.
 M F - 2013-05-30 02:13:09 - In reply to message 4 from Manuel Lemos
Hello,
Actually Microsoft responded to my question:
Quoted:
If you don't send the second hello after STARTTLS, the connection will fail before authentication takes place.
Does this makes sense?
Where in the class should I be looking at ?
Thank you.
 M F - 2013-05-30 11:01:53 - In reply to message 4 from Manuel Lemos
No, no firewall, works fine with Gmail.
 Manuel Lemos - 2013-05-31 15:32:51 - In reply to message 5 from M F
You can set the class variable smtp_start_tls to 1.
 M F - 2013-06-01 13:35:54 - In reply to message 7 from Manuel Lemos
Hello,
Yes I did set the start tls voption.
Microsoft claims an additional step:
"If you don't send the second hello after STARTTLS, the connection will fail before authentication takes place."
A second Hello?
But I really don't have time to troubleshoot this, and I pretty much gave up sending via hotmail/outlook.
Thanks for the help.
As I said the class works marvellously with Gmail.
 Manuel Lemos - 2013-06-03 12:59:28 - In reply to message 8 from M F
If you enabled debug support you can see that after the STARTTLS command, the communication is restarted with a new EHLO command. So that should not be your problem.
|