What’s the difference between different mail functions?

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

    Hello,

    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” ?
    Thanks,

    #101383
    Zohaib
    Participant

    Hi,

    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.

    #101384
    Sebastien
    Guest

    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 ?

    #101385
    Pablo
    Moderator
    Plugin Support

    Hi,

    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.