Jump to content

[Solved] Smtp Outgoing Mail Problem


draftlot

Recommended Posts

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!

Link to comment
Share on other sites

  • 2 weeks later...

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.

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...