• Resolved maniwp001

    (@maniwp001)


    Hi,

    the email works perfectly fine with the website. However, when I send email from my custom plugin using “wp_mail” function, I receive the email as “Unverified Sender”. I have configured DKIM, SPF and DMARC in my DNS provider.
    Google does not even receive the email.

    Please help me find the solution.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Darshana

    (@darshanaw)

    Hi @maniwp001,

    Thanks for reaching out!

    When you set up the WP Mail SMTP plugin, all your WordPress emails sent using the WP_Mail() function will be routed through the WP Mail SMTP configured mailer.

    Not sure if your custom plugin is changing email headers. Could you please try forcing the “from email address” under the WP Mail SMTP -> Settings page and restest?

    I hope this helps. Thanks!

    Thread Starter maniwp001

    (@maniwp001)

    Hi,
    The “from email address” is already forced in Settings page.
    I’ve also tried following snippet

    add_filter('wp_mail_from', 'bv_get_from_email');
      return wp_mail( $email , $subject , $text );
    add_filter('wp_mail_from', 'bv_get_from_email');
      return wp_mail( $email , $subject , $text );

    The email gets sent by “bounce………@mandrillapp.com” instead of my domain email address.

    It still did not work. What aim i missing?

    Plugin Support Darshana

    (@darshanaw)

    Hi @maniwp001,

    I missed your last response, and I apologize for that.

    Were you able to resolve this issue? If not, what’s the mailer that you have configured on your WordPress site using the WP Mail SMTP plugin, and what’s your “from email address”?

    Also, if you have multiple SMTP plugins activated on your site, you need to deactivate them.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Unverified sender issue.’ is closed to new replies.