STMP port is correct and the server supports SSL (we send emails from our smf forum).
Phpmailer debug messages says that it tries to connect to gmail but doesn't recognize authentication when trying to send an email.
Here is a part of the debug message:
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "220 mx.google.com ESMTP m2sm3405127wer.13 "
SMTP -> get_lines(): $data is "220 mx.google.com ESMTP m2sm3405127wer.13 "
SMTP -> FROM SERVER:220 mx.google.com ESMTP m2sm3405127wer.13
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "250-mx.google.com at your service, [151.1.182.11] "
SMTP -> get_lines(): $data is "250-mx.google.com at your service, [151.1.182.11] "
SMTP -> get_lines(): $data was "250-mx.google.com at your service, [151.1.182.11] "
SMTP -> get_lines(): $str is "250-SIZE 35651584 "
SMTP -> get_lines(): $data is "250-mx.google.com at your service, [151.1.182.11] 250-SIZE 35651584 "
SMTP -> get_lines(): $data was "250-mx.google.com at your service, [151.1.182.11] 250-SIZE 35651584 "
SMTP -> get_lines(): $str is "250-8BITMIME "
SMTP -> get_lines(): $data is "250-mx.google.com at your service, [151.1.182.11] 250-SIZE 35651584 250-8BITMIME "
SMTP -> get_lines(): $data was "250-mx.google.com at your service, [151.1.182.11] 250-SIZE 35651584 250-8BITMIME "
SMTP -> get_lines(): $str is "250-AUTH LOGIN PLAIN XOAUTH "
SMTP -> get_lines(): $data is "250-mx.google.com at your service, [151.1.182.11] 250-SIZE 35651584 250-8BITMIME 250-AUTH LOGIN PLAIN XOAUTH "
SMTP -> get_lines(): $data was "250-mx.google.com at your service, [151.1.182.11] 250-SIZE 35651584 250-8BITMIME 250-AUTH LOGIN PLAIN XOAUTH "
SMTP -> get_lines(): $str is "250 ENHANCEDSTATUSCODES "
SMTP -> get_lines(): $data is "250-mx.google.com at your service, [151.1.182.11] 250-SIZE 35651584 250-8BITMIME 250-AUTH LOGIN PLAIN XOAUTH 250 ENHANCEDSTATUSCODES "
SMTP -> FROM SERVER: 250-mx.google.com at your service, [151.1.182.11] 250-SIZE 35651584 250-8BITMIME 250-AUTH LOGIN PLAIN XOAUTH 250 ENHANCEDSTATUSCODES
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "530-5.5.1 Authentication Required. Learn more at "
SMTP -> get_lines(): $data is "530-5.5.1 Authentication Required. Learn more at "
SMTP -> get_lines(): $data was "530-5.5.1 Authentication Required. Learn more at "
SMTP -> get_lines(): $str is "530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 m2sm3405127wer.13 "
SMTP -> get_lines(): $data is "530-5.5.1 Authentication Required. Learn more at 530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 m2sm3405127wer.13 "
SMTP -> FROM SERVER:530-5.5.1 Authentication Required. Learn more at 530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 m2sm3405127wer.13
SMTP -> ERROR: MAIL not accepted from server: 530-5.5.1 Authentication Required. Learn more at 530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 m2sm3405127wer.13
The following From address failed: servizi@italianaviation.com