Thanks for reporting this issue.
I setup a SendinBlue account and tested their transactional mail service with:
1. WP Mail SMTP
2. SendinBlue Subscribe Form And WP SMTP
I had no issues sending the PDFs with the WP Mail SMTP plugin. I was able to replicate this issue with the SendinBlue Subscribe Form And WP SMTP plugin.
By default, the SendinBlue plugin uses their v2 API to send the transactional emails and not SMTP. I reviewed the API call being made and compared it against their documentation; everything looks fine. Since their service is the one to convert the API call to a valid SMTP message (including the headers), you’ll need to follow up with the SendinBlue team directly.
Thanks your quick and precise answer. I’m not a developer but it seams logical to me and that’s also what I told SendinBlue support. I’ll keep you posted once I get their answer further to your reply. Have a good day.
Hi,
I got an answer from SendinBlue technical team who investigated the issue. What they’re saying is that the issue comes from the fact that two content types are added by PDF add-on.
It’s clearly outside of my scope of competency but they asked me to forward you two links which can help solve it.
Description of the issue described here :
https://core.trac.ww.wp.xz.cn/ticket/31653
and the way to solve it here :
https://ww.wp.xz.cn/support/topic/using-wp_mail-with-php-generated-attachments/
Many thanks in advance.
Best Regards
Thanks for the update. However, their technical team is providing you incorrect information. This is something they will need to fix with their own plugin and their API and not an issue with WordPress.
I suggest you delete the SendinBlue plugin and use WP Mail SMTP with SendinBlue instead, which I’ve confirmed works correctly with Gravity PDF.
Hey, thanks for your quick reply.
That’s actually what I’m already doing now, avoiding SendinBlue (and using WP SMTP, which does indeed works fine with your Gravity PDF add-on). No need to delete their plugin however, it’s not conflicting, just not using it for sending gravity email thru WP (and I can then still keep the sync with Sendinblue database).
What cause the issue with SendinBlue is completely out of my scope of competency and I was just being the middle men thinking it would be useful to everyone 😎
Anyway, thanks again for your very efficient support, especially to someone simply using the free version of your plugin like me. Really appreciated.
Have a good day.
Not a problem. We’ve been liaising with their support team directly about the issue. I’m currently waiting to hear back from them.