I am using the standard script for relaying through Gmail
Code: Select all
$swift = new Swift(new Swift_Connection_SMTP('smtp.gmail.com', SWIFT_SECURE_PORT, SWIFT_TLS));
$swift->authenticate('me@gmail.com', 'pw');This is the error I receive through print_r:
Array ( [0] => Array ( [num] => 0 [time] => 0.73205300 1165474322 [message] => Connection to the given MTA failed. The Connection Interface said: Success ) [1] => Array ( [num] => 0 [time] => 0.73526900 1165474322 [message] => The MTA doesn't support any of Swift's loaded authentication mechanisms ) ) Array ( )
I'm using 2.1.17 for php4 - under version php 4.4.0
I tried this on my local server as well as a hosted server and I get the same error.
Also, I'm in South Korea if that makes a difference. But I also tried another server not based in Korea and it did not work either.
Any help would be GREATLY appreciated. If you need any more info, I will reply asap.
Thanks in advance.