Hi,
We’re using the default WordPress wp_mail() function to send emails. On certain hosts the emails get marked as spam for some reason.
`Please try installing the Email Logging plugin https://ww.wp.xz.cn/plugins/wp-mail-logging/ on your website. It will add a log entry each time the wp_mail() WordPress function is called (our plugins use this function for all of the emails they send).
You will then be able to go to the Email Log page on your website’s Dashboard to see if the email is being sent.
If it is listed there then there is a good chance there are filters set up on the server that might block some outgoing emails and I would suggest you contact your web hosting provider and ask them if this is the case.
Thread Starter
Orange
(@leegrant)
Hello Christian,
Thank you for your response. Is there anyway around this so we can use SengGrid? I’ve spoken to the host and they’re not being entirely helpful at this stage. It’s a multisite and send works nicely with the sister site so we’d like to incorporate it into the site using profile builder too.
Thank you
Hi,
What SendGrid plugin are you using? It should work as expected.
You could try with PostmarkApp, it’s similar to sendgrid and I don’t think pricing wise it’s any different.
Thread Starter
Orange
(@leegrant)
Hey Christian
I won’t be able to get the team to switch unfortunately as their other websites are using SendGrid, and it was a bit of bother getting the ok to use them.
I’ve tried the sendGrid option in this plugin https://en-gb.ww.wp.xz.cn/plugins/wp-mail-smtp/ as mentioned, it works fine on the other site without profile builder active.
Is there a function I can use to disable the use of wp_mail() or something of similar sorts?
Thanks for the help
Hi,
I don’t think I understand the problem correctly.
Are the emails being send from both your webhost AND SendGrid? What exactly is happening. Screenshots can help.
The way wp_mail functions is that when you install a plugin like WP Mail SMTP, it just takes over the sending of the mails from the server so your hosting server is no longer sending those emails.
Our plugin doesn’t care who is sending the emails. It just calls wp_mail() function when it wants to send an email.