I got the following error, someone could help me…
Versions:
WordPress: 4.9.5
WordPress MS: No
PHP: 7.0.1
WP Mail SMTP: 1.2.5
Params:
Mailer: smtp
Constants: No
ErrorInfo: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Host: smtp.gmail.com
Port: 587
SMTPSecure: tls
SMTPAutoTLS: bool(true)
SMTPAuth: bool(true)
Server:
OpenSSL: Yes
Apache.mod_security: No
SMTP Debug:
2018-05-16 18:55:07 Connection: opening to smtp.gmail.com:587, timeout=300, options=array (
)
2018-05-16 18:55:07 Connection: Failed to connect to server. Error number 2. “Error notice: stream_socket_client(): php_network_getaddresses: getaddrinfo failed: No such host is known.
2018-05-16 18:55:07 Connection: Failed to connect to server. Error number 2. “Error notice: stream_socket_client(): unable to connect to smtp.gmail.com:587 (php_network_getaddresses: getaddrinfo failed: No such host is known. )
2018-05-16 18:55:07 SMTP ERROR: Failed to connect to server: php_network_getaddresses: getaddrinfo failed: No such host is known. (0)
2018-05-16 18:55:07 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting