Error Sending Emails
-
Hi, I can’t send emails from gmail account by wp mail smtp.
I want to know how to setting or add lines to php file.Versions:
WordPress: 4.9.5
WordPress MS: No
PHP: 5.6.33
WP Mail SMTP: 1.2.5Params:
Mailer: smtp
Constants: Yes
ErrorInfo: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Host: smtp.gmail.com
Port: 465
SMTPSecure: ssl
SMTPAutoTLS: bool(true)
SMTPAuth: bool(true)
SMTPOptions: {“ssl”:{“verify_peer”:false,”verify_peer_name”:false,”allow_self_signed”:true}}Server:
OpenSSL: Yes
SMTP Debug:
2018-04-16 16:02:34 Connection: opening to ssl://smtp.gmail.com:465, timeout=300, options=array (
‘ssl’ =>
array (
‘verify_peer’ => false,
‘verify_peer_name’ => false,
‘allow_self_signed’ => true,
),
)
- The topic ‘Error Sending Emails’ is closed to new replies.