• Resolved hhlyip

    (@hhlyip)


    When a notification email is sent, it returns as a failure. Other emails within the website are able to be sent successfully.

    We use Post SMTP for emails and in the details for why it failed, the error shows “This email has empty body”.

    If the email it resend (through POST SMTP and clicking “resend”), then it will send but with the HTML markup.

    A recent plugin update was released but doesn’t look like it fixed it.

    I also had a look at the fix found in this thread which is identical to what we’re experiencing but the file download isn’t available anymore:
    https://www.ads-software.com/support/topic/notification-emails-not-being-sent-are-in-plain-text-but-rich-text-selected/

    We’re on Version 2.2.2 for WP Job Manager.

    • This topic was modified 8 months ago by hhlyip. Reason: Typo

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Peter Kiss (a11n)

    (@yscik8)

    Hello,

    Could you share what SMTP Mailer you have set up in the Post SMTP plugin? This message usually comes from that service.

    Thread Starter hhlyip

    (@hhlyip)

    Hi Peter,

    If you may be referring to the Transport settings, this is what we have:

    Type: Other SMTP
    Mailer Type: PostSMTP

    Is that what you’re looking for?

    Plugin Author Peter Kiss (a11n)

    (@yscik8)

    Hi,

    yes; as for other SMTP, are you using your own or your host’s SMTP server, or some public service? (Specified in “Outgoing Mail Server Hostname”)

    We have been testing with the most popular SMTP services, as well as with the built-in mail senders and haven’t seen this issue since the latest fixes.

    It could also be worth a try to change the “Mailer Type” setting to PHPMailer, and see if that one works better.

    Thread Starter hhlyip

    (@hhlyip)

    Hi Peter,

    The Outgoing Mail Server Hostname is using Gmail: smtp.gmail.com
    The Outgoing Mail Server Port is 587
    Security: STARTTLS
    Authentication: OAuth 2.0

    All emails from WordPress are going through successfully but only the ones through the Job Manager are returning as failed with the “This email body is empty” note.

    Sending a test email through Post SMTP also shows it is delivered successfully.

    I had a look at our other clients that also use the Job Manager and their notifications are also failing with the same notice. All of them show emails sending successfully until February 13, 2024. After that date, all notifications started failing.

    Anything stand out here to you?

    • This reply was modified 8 months ago by hhlyip. Reason: Additional info
    • This reply was modified 8 months ago by hhlyip.

    Hi Peter (@yscik8),

    Changing the mailer type to PHPMailer does not resolve the issue and the email log says “Failed: SMTP Error: Could not authenticate.”

    When the mailer type is set to PostSMTP, the email log says “Failed: This email has empty body”. However, when you click to view the email in the PostSMTP email log, the email displays (even though the notification email was not sent).

    It appears that this is a known issue as per this support thread: https://www.ads-software.com/support/topic/notification-emails-not-being-sent-are-in-plain-text-but-rich-text-selected/. The links in that thread to a fix are broken. Could you supply a working link to the fix?

    Hi there,

    Here is a re-upload of the pre-release fix. This fix will be included in the next release (2.2.3)

    https://wpjobmanager.com/wp-content/uploads/2024/03/wp-job-manager-zip-2788-f4a23a4a.zip

    Thank you, John!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘JM Notification emails failing – “this email has empty body”’ is closed to new replies.