Jump to content

Recommended Posts

Posted

Hi, some time after May 12, all outgoing SMTP mail from my web app seems to have stopped working.

 

I am on stevie. Here is some test php code (uses PHPMailer):

 

$mail = new PHPMailer();

$mail->IsSMTP();

$mail->SMTPAuth = true;

$mail->Debugoutput = 'html';

$mail->SMTPDebug = 3;

//$mail->SMTPSecure = 'tls';

//$mail->Port = 587;

$mail->SMTPSecure = 'ssl';

$mail->Port = 465;

$mail->Host = 'smtp.gmail.com'; // '74.125.129.108';

$mail->Username = '**********@gmail.com';

$mail->Password = '**********';

 

$mail->Subject = 'TEST subject';

$mail->Body = 'TEST body';

 

$mail->AddAddress("**********@yahoo.com", "name");

$mail->AddReplyTo("**********@yahoo.com", "name");

$mail->Send();

 

Output:

Connection: opening

Connection: opened

SERVER -> CLIENT: 220-stevie.heliohost.org ESMTP Exim 4.80 #2 Thu, 05 Jun 2014 14:40:59 -0700 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail.

CLIENT -> SERVER: EHLO www.draftlotto.com

SERVER -> CLIENT: 250-stevie.heliohost.org Hello stevie.heliohost.org [65.19.143.2]250-SIZE 52428800250-8BITMIME250-PIPELINING250-AUTH PLAIN LOGIN250 HELP

CLIENT -> SERVER: AUTH LOGIN

SERVER -> CLIENT: 334 VXNlcm5hbWU6

CLIENT -> SERVER: ZHJhZnRsb3R0b0BnbWFpbC5jb20=

SERVER -> CLIENT: 334 UGFzc3dvcmQ6

CLIENT -> SERVER: YTtyb21uMTJa

SERVER -> CLIENT: 535 Incorrect authentication data

SMTP ERROR: Password command failed: 535 Incorrect authentication data

CLIENT -> SERVER: QUIT

SERVER -> CLIENT: 221 stevie.heliohost.org closing connection

Connection: closed

SMTP connect() failed.

 

Note I have also tried using a completely different SMTP server, and get authentication errors there too, with or without SSL. Yes I have triple-checked my username and password for BOTH SMTP servers, and once again, everything was working fine prior to May 12. Any help would be greatly appreciated!

  • 2 weeks later...
Posted

I am having exactly the same issue.

 

I am also on Stevie, also use PHPMailer to send mails via my gmail account.

 

It was working fine until mid May, indeed. I have not changed anything to this php code.

My google account is also working fine with same login credentials.

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...