[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25
; For Win32 only.
sendmail_from = somebody@somewhere.com
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path =
; Force the addition of the specified parameters to be passed as extra parameters
; to the sendmail binary. These parameters will always replace the value of
; the 5th parameter to mail(), even in safe mode.
;mail.force_extra_parameters =
Test Message Sent
The result was:
bool(false)
The full debugging output is shown below:
object(PHPMailer)#110 (44) {
["Priority"]=>
int(3)
["CharSet"]=>
string(5) "UTF-8"
["ContentType"]=>
string(10) "text/plain"
["Encoding"]=>
string(4) "8bit"
["ErrorInfo"]=>
string(43) "SMTP Error: Could not connect to SMTP host."
["From"]=>
string(30) "relay@****************.com"
["FromName"]=>
string(22) "************************"
["Sender"]=>
string(30) "relay@**********.com"
["Subject"]=>
string(50) "WP Mail SMTP: Test mail to support@**************.net"
["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) ""
["Version"]=>
string(5) "2.0.4"
["ConfirmReadingTo"]=>
string(0) ""
["Hostname"]=>
string(0) ""
["MessageID"]=>
string(0) ""
["Host"]=>
string(24) "smtpout.secureserver.net"
["Port"]=>
string(3) "465"
["Helo"]=>
string(0) ""
["SMTPSecure"]=>
string(3) "ssl"
["SMTPAuth"]=>
bool(true)
["Username"]=>
string(30) "relay@************.com"
["Password"]=>
string(6) "*******"
["Timeout"]=>
int(10)
["SMTPDebug"]=>
int(2)
["SMTPKeepAlive"]=>
bool(false)
["SingleTo"]=>
bool(false)
["smtp"]=>
object(SMTP)#122 (7) {
["SMTP_PORT"]=>
int(25)
["CRLF"]=>
string(2) "
"
["do_debug"]=>
int(2)
["do_verp"]=>
bool(false)
["smtp_conn"]=>
int(0)
["error"]=>
array(1) {
["error"]=>
string(38) "Called Reset() without being connected"
}
["helo_rply"]=>
NULL
}
["to"]=>
array(1) {
[0]=>
array(2) {
[0]=>
string(23) "support@*************.net"
[1]=>
string(0) ""
}
}
["cc"]=>
array(0) {
}
["bcc"]=>
array(0) {
}
["ReplyTo"]=>
array(0) {
}
["attachment"]=>
array(0) {
}
["CustomHeader"]=>
array(0) {
}
["message_type"]=>
string(5) "plain"
["boundary"]=>
array(2) {
[1]=>
string(35) "b1_b128ba4f79872dac2dff1edfce995246"
[2]=>
string(35) "b2_b128ba4f79872dac2dff1edfce995246"
}
["error_count"]=>
int(2)
["LE"]=>
string(1) "
"
["sign_cert_file"]=>
string(0) ""
["sign_key_file"]=>
string(0) ""
["sign_key_pass"]=>
string(0) ""
}
The SMTP debugging output is shown below:
SMTP -> FROM SERVER:
SMTP -> NOTICE:
EOF caught while checking if connectedSMTP -> ERROR: AUTH not accepted from server:
Test Message Sent
The result was:
bool(false)
The full debugging output is shown below:
object(PHPMailer)#110 (44) {
["Priority"]=>
int(3)
["CharSet"]=>
string(5) "UTF-8"
["ContentType"]=>
string(10) "text/plain"
["Encoding"]=>
string(4) "8bit"
["ErrorInfo"]=>
string(36) "Could not instantiate mail function."
["From"]=>
string(30) "relay@***.com"
["FromName"]=>
string(22) "***********************"
["Sender"]=>
string(0) ""
["Subject"]=>
string(50) "WP Mail SMTP: Test mail to support@***.net"
["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) "mail"
["Sendmail"]=>
string(18) "/usr/sbin/sendmail"
["PluginDir"]=>
string(0) ""
["Version"]=>
string(5) "2.0.4"
["ConfirmReadingTo"]=>
string(0) ""
["Hostname"]=>
string(0) ""
["MessageID"]=>
string(0) ""
["Host"]=>
string(9) "localhost"
["Port"]=>
int(25)
["Helo"]=>
string(0) ""
["SMTPSecure"]=>
string(0) ""
["SMTPAuth"]=>
bool(false)
["Username"]=>
string(0) ""
["Password"]=>
string(0) ""
["Timeout"]=>
int(10)
["SMTPDebug"]=>
int(2)
["SMTPKeepAlive"]=>
bool(false)
["SingleTo"]=>
bool(false)
["smtp"]=>
NULL
["to"]=>
array(1) {
[0]=>
array(2) {
[0]=>
string(23) "support@***.net"
[1]=>
string(0) ""
}
}
["cc"]=>
array(0) {
}
["bcc"]=>
array(0) {
}
["ReplyTo"]=>
array(0) {
}
["attachment"]=>
array(0) {
}
["CustomHeader"]=>
array(0) {
}
["message_type"]=>
string(5) "plain"
["boundary"]=>
array(2) {
[1]=>
string(35) "b1_bc67ff949a4de61932d4a12cac1b4c2a"
[2]=>
string(35) "b2_bc67ff949a4de61932d4a12cac1b4c2a"
}
["error_count"]=>
int(1)
["LE"]=>
string(1) "
"
["sign_cert_file"]=>
string(0) ""
["sign_key_file"]=>
string(0) ""
["sign_key_pass"]=>
string(0) ""
}
The SMTP debugging output is shown below:
Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.
When asked, what has been your best career decision?
Deciding to stick with EE.
Being involved with EE helped me to grow personally and professionally.
Connect with Certified Experts to gain insight and support on specific technology challenges including:
We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE