• Resolved rubinstein

    (@rubinstein)


    WordPress automatically updated to version 5.2.2 today.

    So it tried to send me this email: “Your site has updated to WordPress 5.2.2”, but it failed with this error:

    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: Mailgun
    ‘from’ parameter is missing

    I had this error before, I only got it when WordPress automatically updated and tried to send the update success email.

    So I installed the WP Mail Log plugin a few weeks ago in order to see if there is any error. Today can see the “Your site has updated to WordPress 5.2.2” email there in the log, but no error is shown.

    What should I do now?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @rubinstein,

    That error means that an email is trying to send without FROM email header. Without this, Mailgun API can’t send an email and returns an error, that WP Mail SMTP plugin displays in the admin area.

    You will need to find out if any plugin is trying to send an email that doesn’t have a FROM email header. You can also check ‘Force From Email’. If checked, the From Email setting from WP Mail SMTP will be used for all emails, ignoring values set by other plugins.

    I hope this helps!

    Thread Starter rubinstein

    (@rubinstein)

    Hi Saanjeev,

    Thanks for replying!

    WordPress core is trying to send this email without the FROM header, as I stated in my first email. Maybe that wasn’t so clear. I don’t have a problem with my plugins.

    Thank you,

    Peter

    Hi Peter,

    Thanks for the information. FROM header is optional while sending emails from wp_mail(), though Mailgun returns an error without this. ‘Force From Email’ should fix the issue.

    Have a good one!

    Hi @rubinstein – We haven’t heard from you in about a week, so I’m going to go ahead and mark this ticket resolved. If you still have questions, though, please feel welcome to continue the conversation.

    Thread Starter rubinstein

    (@rubinstein)

    Hi Sanjeev,

    Your solution is not a good one as I have another site where mail from WordPress core is sent without problems with your plugin, but I thought it was too much hassle to continue in finding the bug.

    If I choose “Force From Email” then it’s not possible to have different email addresses, and that’s something I need to have…

    Hi @rubinstein,

    I apologize for the late reply. We are looking further into this and I’ll get back to you with more details soon.

    Thank You!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Email Delivery Error: ‘from’ parameter is missing’ is closed to new replies.