What’s the difference between different mail functions?

Top WooCommerce & WordPress Plugins Forums Email Verification for WooCommerce What’s the difference between different mail functions?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #101382
    Sebastien L.


    I use the WP Mail SMTP plugin to send mail via the website.

    Your plugin uses mail functions. In the options, there is only a choice between PHP “mail()” function, Woocommerce “wc_mail()” function and WordPress “wp_mail()” function.
    What is the difference? Our customers say that the verification mail often arrives in SPAM.

    I would like to send the verification email via our SMTP mail server. How is it possible to configure this or that your plugin sends via “WP Mail STMP” ?



    The 3 options under the mail function are meant to work with different hosting environments. If the emails are arriving in spam it might be due to a web hosting issue such as SPF records not being set up or other similar problems.

    You can test the 3 options to see which one works best for you.


    Thank you for your reply,

    Our registration validation emails have a 10/10 rating on mail-tester.com (https://www.mail-tester.com/test-p3ram52xd) and never arrive in SPAM, we have configured SPF, DMARK and DKIM. But this is through SMTP.
    Do we need to make an additional configuration so that emails sent via PHP “mail()” function, Woocommerce “wc_mail()” function or WordPress “wp_mail()” function ?

    Plugin Support


    Our plugin doesn’t require an additional configuration in order to use SMTP.
    Please try to use some other SMTP plugin to see if you have better results.

    You could also install a plugin like Check & Log Email and log your emails.
    Then you could try to send an email from the Log plugin to a custom email address created on Mail Tester, as they can provide some useful info as well

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.