• Resolved rknd

    (@rknd)


    Hi, there.

    Currently the function wp_mail() isn’t working(false returned) on my wordpress.

    WordPress: 5.2.1
    Plugin Version: 1.4.2
    PHP: 7.2.19

    And I setlike following:
    SMTP Host: email-smtp.eu-west-1.amazonaws.com
    Encyption: TTL
    SMTP port: 25
    Authentification: True

    Auto-reply email by Contact form 7 is completely working,
    so I have no idea how I resolve it.

    I’d appreciate if you could give me advice!

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Same here, the “Email Test” in the plugin is working fine, but when I try to use the wp_mail() function, it returns false everytime.

    Hi,

    If the test email is successful, it means wp_mail is returning true. Usually, it means email issues are up stream e.g. emails are discarded/spammed due to lack of domain name validation, those sort of things.

    @rknd , When you get a chance, could you please try sending a test email (under Settings > WPForms > Email Test) and share the details from that here?

    Thanks!

    Thread Starter rknd

    (@rknd)

    Hi, @sanzeeb3

    Thank you for your reply.

    Sorry, it’s an easy mistake, I checked that the test mail was sent correctly.

    Though it still shows an error but it might be a problem on the server side.

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘wp_mail() doesn’t work with WP Mail SMTP’ is closed to new replies.