• Resolved southbridge

    (@southbridge)


    This is the error message when trying to send an email via php. Could you help me? Thanks in advanced.

    Versions:
    WordPress: 4.9.4
    WordPress MS: No
    PHP: 7.2.2
    WP Mail SMTP: 1.2.5

    Params:
    Mailer: mail
    Constants: No

    Server:
    PHP.mail(): Yes
    Apache.mod_security: No

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Slava Abakumov

    (@slaffik)

    As far as I can see, you have not configured the plugin at all (Mailer: mail).

    Please visit this page: https://www.ads-software.com/plugins/wp-mail-smtp/ – and read the possible mailers that you can use to send emails. There will be links to configure any of them.

    You need to switch from Default (none) mailer to anything else in plugin settings.

    After update WP to 4.9.7

    Versions:
    WordPress: 4.9.7
    WordPress MS: No
    PHP: 7.0.30
    WP Mail SMTP: 1.3.3
    
    Params:
    Mailer: smtp
    Constants: No
    ErrorInfo: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
    Host: smtp.yandex.ru
    Port: 465
    SMTPSecure: ssl
    SMTPAutoTLS: bool(true)
    SMTPAuth: bool(true)
    
    Server:
    OpenSSL: Yes
    Apache.mod_security: No
    SMTP Debug:
    2018-07-08 16:56:59	Connection: opening to ssl://smtp.yandex.ru:465, timeout=300, options=array (
    )
    2018-07-08 16:56:59	Connection: Failed to connect to server. Error number 2. "Error notice: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
    error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
    2018-07-08 16:56:59	Connection: Failed to connect to server. Error number 2. "Error notice: stream_socket_client(): Failed to enable crypto
    2018-07-08 16:56:59	Connection: Failed to connect to server. Error number 2. "Error notice: stream_socket_client(): unable to connect to ssl://smtp.yandex.ru:465 (Unknown error)
    2018-07-08 16:56:59	SMTP ERROR: Failed to connect to server: (0)
    2018-07-08 16:56:59	SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
    • This reply was modified 6 years, 4 months ago by kingstakh.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error Mailer PHP. WP 4.9.4 PHP 7.2.2’ is closed to new replies.