On another thread I found someone with a similar problem who suggested using SMTP for WP, I did but still no luck, I get this result no matter what email I put into the from field or even if I leave it blank, maybe this will help pinpoint the problem:
Test Message Sent
The result was:
bool(true)
The full debugging output is shown below:
object(PHPMailer)#38 (53) {
[“Priority”]=>
int(3)
[“CharSet”]=>
string(5) “UTF-8”
[“ContentType”]=>
string(10) “text/plain”
[“Encoding”]=>
string(4) “8bit”
[“ErrorInfo”]=>
string(178) “SMTP Error: The following recipients failed: [email protected]
SMTP server error: “Your IP: 127.0.0.1 : Your domain vagobond.com is not allowed in header
550 From”
“
[“From”]=>
string(17) “[email protected]”
[“FromName”]=>
string(28) “Strategic Quality Management”
[“Sender”]=>
string(17) “[email protected]”
[“Subject”]=>
string(49) “WP Mail SMTP: Test mail to [email protected]”
[“Body”]=>
string(68) “This is a test email generated by the WP Mail SMTP WordPress plugin.”
[“AltBody”]=>
string(0) “”
[“WordWrap”]=>
int(0)
[“Mailer”]=>
string(4) “smtp”
[“Sendmail”]=>
string(18) “/usr/sbin/sendmail”
[“PluginDir”]=>
string(0) “”
[“ConfirmReadingTo”]=>
string(0) “”
[“Hostname”]=>
string(0) “”
[“MessageID”]=>
string(0) “”
[“Host”]=>
string(9) “localhost”
[“Port”]=>
string(2) “25”
[“Helo”]=>
string(0) “”
[“SMTPSecure”]=>
string(0) “”
[“SMTPAuth”]=>
bool(true)
[“Username”]=>
string(21) “info+cathybalding.com”
[“Password”]=>
string(8) “temp1234”
[“Timeout”]=>
int(10)
[“SMTPDebug”]=>
int(2)
[“SMTPKeepAlive”]=>
bool(false)
[“SingleTo”]=>
bool(false)
[“SingleToArray”]=>
array(0) {
}
[“LE”]=>
string(1) “
“
[“DKIM_selector”]=>
string(9) “phpmailer”
[“DKIM_identity”]=>
string(0) “”
[“DKIM_domain”]=>
string(0) “”
[“DKIM_private”]=>
string(0) “”
[“action_function”]=>
string(0) “”
[“Version”]=>
string(3) “5.1”
[“smtp”:”PHPMailer”:private]=>
object(SMTP)#37 (7) {
[“SMTP_PORT”]=>
int(25)
[“CRLF”]=>
string(2) “
“
[“do_debug”]=>
int(2)
[“do_verp”]=>
bool(false)
[“smtp_conn”:”SMTP”:private]=>
resource(124) of type (stream)
[“error”:”SMTP”:private]=>
array(3) {
[“error”]=>
string(29) “RCPT not accepted from server”
[“smtp_code”]=>
string(3) “550”
[“smtp_msg”]=>
string(84) “”Your IP: 127.0.0.1 : Your domain vagobond.com is not allowed in header
550 From”
“
}
[“helo_rply”:”SMTP”:private]=>
string(139) “250-server30.web-hosting.com Hello localhost [127.0.0.1]
250-SIZE 52428800
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP
“
}
[“to”:”PHPMailer”:private]=>
array(1) {
[0]=>
array(2) {
[0]=>
string(22) “[email protected]”
[1]=>
string(0) “”
}
}
[“cc”:”PHPMailer”:private]=>
array(0) {
}
[“bcc”:”PHPMailer”:private]=>
array(0) {
}
[“ReplyTo”:”PHPMailer”:private]=>
array(0) {
}
[“all_recipients”:”PHPMailer”:private]=>
array(1) {
[“[email protected]”]=>
bool(true)
}
[“attachment”:”PHPMailer”:private]=>
array(0) {
}
[“CustomHeader”:”PHPMailer”:private]=>
array(0) {
}
[“message_type”:”PHPMailer”:private]=>
string(5) “plain”
[“boundary”:”PHPMailer”:private]=>
array(2) {
[1]=>
string(35) “b1_916f374598dbe53730c3f1a2181bfe6b”
[2]=>
string(35) “b2_916f374598dbe53730c3f1a2181bfe6b”
}
[“language”:protected]=>
array(17) {
[“provide_address”]=>
string(54) “You must provide at least one recipient email address.”
[“mailer_not_supported”]=>
string(25) ” mailer is not supported.”
[“execute”]=>
string(19) “Could not execute: “
[“instantiate”]=>
string(36) “Could not instantiate mail function.”
[“authenticate”]=>
string(35) “SMTP Error: Could not authenticate.”
[“from_failed”]=>
string(35) “The following From address failed: “
[“recipients_failed”]=>
string(45) “SMTP Error: The following recipients failed: “
[“data_not_accepted”]=>
string(30) “SMTP Error: Data not accepted.”
[“connect_host”]=>
string(43) “SMTP Error: Could not connect to SMTP host.”
[“file_access”]=>
string(23) “Could not access file: “
[“file_open”]=>
string(33) “File Error: Could not open file: “
[“encoding”]=>
string(18) “Unknown encoding: “
[“signing”]=>
string(15) “Signing Error: “
[“smtp_error”]=>
string(19) “SMTP server error: “
[“empty_message”]=>
string(18) “Message body empty”
[“invalid_address”]=>
string(15) “Invalid address”
[“variable_set”]=>
string(30) “Cannot set or reset variable: “
}
[“error_count”:”PHPMailer”:private]=>
int(1)
[“sign_cert_file”:”PHPMailer”:private]=>
string(0) “”
[“sign_key_file”:”PHPMailer”:private]=>
string(0) “”
[“sign_key_pass”:”PHPMailer”:private]=>
string(0) “”
[“exceptions”:”PHPMailer”:private]=>
bool(false)
}
The SMTP debugging output is shown below:
SMTP -> FROM SERVER:220-server30.web-hosting.com ESMTP Exim 4.69 #1 Fri, 26 Aug 2011 09:23:44 -0400
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail.
SMTP -> FROM SERVER: 250-server30.web-hosting.com Hello localhost [127.0.0.1]
250-SIZE 52428800
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP
SMTP -> FROM SERVER:250 OK
SMTP -> FROM SERVER:550-“Your IP: 127.0.0.1 : Your domain vagobond.com is not allowed in header
550 From”
SMTP -> ERROR: RCPT not accepted from server: 550-“Your IP: 127.0.0.1 : Your domain vagobond.com is not allowed in header
550 From”
SMTP Error: The following recipients failed: [email protected]