Couldn't send email from localhost
-
I installed “WP Mail SMTP” plugin on my site on localhost (wamp), I config everything accordingly with my gmail account and cannot successfully send out the test email. Here is part of the error (the complete error is too long):
Test Message Sent
The result was:
boolean false
The full debugging output is shown below:
object(PHPMailer)[330]
public ‘Version’ => string ‘5.2.7’ (length=5)
public ‘Priority’ => int 3
public ‘CharSet’ => string ‘UTF-8’ (length=5)
public ‘ContentType’ => string ‘text/plain’ (length=10)
public ‘Encoding’ => string ‘8bit’ (length=4)
public ‘ErrorInfo’ => string ‘The following From address failed: [email protected] : MAIL FROM command failed,530,5.5.1 Authentication Required. Learn more at
530 5.5.1 https://support.google.com/mail/bin/answer.py?answer=14257 ik6sm5510678igb.17 – gsmtp
‘ (length=229)
public ‘From’ => string ‘[email protected]’ (length=20)
public ‘FromName’ => string ‘FromName (localhost)’ (length=23)
public ‘Sender’ => string ‘[email protected]’ (length=20)
public ‘ReturnPath’ => string ” (length=0)
public ‘Subject’ => string ‘WP Mail SMTP: Test mail to [email protected]’ (length=48)
public ‘Body’ => string ‘This is a test email generated by the WP Mail SMTP WordPress plugin.’ (length=68)
public ‘AltBody’ => string ” (length=0)
public ‘Ical’ => string ” (length=0)
protected ‘MIMEBody’ => string ‘This is a test email generated by the WP Mail SMTP WordPress plugin.
‘ (length=69)
protected ‘MIMEHeader’ => string ‘Date: Wed, 24 Dec 2014 01:53:07 +0000
Return-Path: <[email protected]>
To: [email protected]
From: “fromMyGmail (localhost)” <[email protected]>
Subject: WP Mail SMTP: Test mail to [email protected]
Message-ID: <b3677b248694162ff329764a545174c1@localhost>
X-Priority: 3
X-Mailer: PHPMailer 5.2.7 (https://github.com/PHPMailer/PHPMailer/)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- The topic ‘Couldn't send email from localhost’ is closed to new replies.