Hi
Install the Email logging plugin and try to track an email that generates that error.
Most likely the email that the site is trying to send has issues with its structure. I can’t help without that email content (not the text, but the whole internal structure with headers and body) or exact steps to replicate the issue.
Hi Slava,
Thank you for your respon.
but when I tried to send a test mail it also failed. Is that a relationship?
Regards.
All your emails are failing to be sent. I don’t know why, and you haven’t provided details.
Hi,
Not all I can still receive e-mail templates from the woocommerce plugin. I just didn’t receive an email from the test email and registration user email. What kind of details should I attach? can you give an example?
Thank’s
Hi silva,
how do I solve this problem?
Hi,
What is the WP Mail SMTP plugin version?
Do you see any emails on your Mailgun account Log page?
Hi,
I use wp mail smtp version 1.3.3.
is this what you mean? https://i.imgur.com/jPCDeLr.jpg
Thank’s
-
This reply was modified 5 years, 5 months ago by anugrahdimas.
This can actually be fixed in a new WP Mail SMTP v1.4 not directly related to what you wrote but connected to the other issue.
Mailgun and Sendgrid were not correctly processing multipart emails. Should be fine after the next release.
I got the following error! How can I fix this?
EMAIL DELIVERY ERROR: the plugin WP Mail SMTP v1.4.2 logged this error during the last time it tried to send an email:
Mailer: Gmail
{
“error”: {
“errors”: [
{
“domain”: “global”,
“reason”: “invalidArgument”,
“message”: “Invalid to header”
}
],
“code”: 400,
“message”: “Invalid to header”
}
}
Thank you, James
Hi James,
When we’ve seen this error in other cases, we’ve found the cause to be the From Email. When you get a chance, could you please check that your From Email lines up in all places?
Specifically, all of these emails need to match:
1) In Settings > WP Mail SMTP, the From Email setting
2) If using Gmail SMTP, the email used to set up your Google app. If using Other SMTP, the email used under the “Other SMTP” section
3) The From Email used in your forms or other plugins, etc on your site that send emails
I hope this helps!
Hi Can some please help. we are sending emails through but keep getting an error. Please see below for the error log
Versions:
WordPress: 4.8.2
WordPress MS: Yes
PHP: 7.0.22-0ubuntu0.16.04.1
WP Mail SMTP: 1.5.2
Params:
Mailer: sendgrid
Constants: No
Api Key: Yes
Debug:
cURL error 18: transfer closed with 116 bytes remaining to read
If someone could help with resolving this error please. That would be much appreciated.
Hi @thejoshtree,
The error indicates it’s an issue with your server or network and nothing specific to the plugin. You might need to consult your hosting provider about this curl error.
Alternatively, you might consider switching to a different mailer option. In some cases, we find that only a specific mailer/API will run into issues on a site, whereas other options will work just fine. Here are tutorial links for other mailer option:
Google/Gmail
Mailgun
Other SMTP
Thanks!