• Resolved ascarola

    (@ascarola)


    Hello,

    I am encountering an issue with my WordPress site’s email integration when using SMTP2GO to send backup logs via UpdraftPlus. The emails are not being sent, and I am receiving the following error:

    E_ApiResponseCodes.NON_VALIDATING_IN_PAYLOAD: An error occurred processing the json data you sent with the request. Please make sure the data conforms to the specification for this call (see the documentation here: https://developers.smtp2go.com/reference/introduction-1) and try again. Don't forget to set Content-Type to 'application/json'. sender: The field 'sender' was expecting a valid RFC-822 formatted email field but found 'UpdraftPlus on fitlsdog.com [email protected]', Please correct your JSON payload and try again.

    Summary of the issue:

    ? WordPress Plugin: UpdraftPlus - Backup/Restore

    ? Mailer Service: SMTP2GO

    ? Error Code: E_ApiResponseCodes.NON_VALIDATING_IN_PAYLOAD

    ? Issue: The ‘sender’ field is not recognized as a valid RFC-822 formatted email.

    ? Email Content: Backup log file from UpdraftPlus.

    Steps I have taken:

    1. I understand that the error occurs because the sender field expects a valid email format (i.e., [email protected] without the extra text).

    2. I have checked my global sender email and confirm it is [email protected].

    Can you please assist with resolving this issue or provide guidance on how to configure the sender field properly? If there are any additional steps or settings needed in the JSON payload, please advise.

    Thank you for your assistance.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support vupdraft

    (@vupdraft)

    I set up the plugin on my site and the backup log was sent to email with issues.

    Have you set plugin up like this: https://snipboard.io/LNdIZF.jpg

    I have changed my actual name to “myname” and have substituted the actual site with “mysite”

    I am wondering if you have but put the “no reply” bit in the Header field under “Customer headers” and “UpdraftPlus as the Value”. If so header should be just text (no special characters, not an email and the Value should be an email address)

    I will do my best to assist but this might be more of topic for the SMTP plugins support

    Thread Starter ascarola

    (@ascarola)

    Hello.

    You said, “I set up the plugin on my site and the backup log was sent to email with issues.” What issues did you have? Did you have the same issues that I had? Or, did you mean that you had “no issues”?

    The screenshot you took, is that from the “WP Mail SMTP” plugin? It doesn’t look like my settings if so. For that WP Mail SMTP plugin, I have From Email set to “[email protected]” and the “From Name” set to “FITLSDOG Store”. When I test this plug-in (test sending email), it is delivered properly.

    I think the problem has to do specifically with the fact that the sender field in the UpdraftPlus backup email is not conforming to the RFC-822 standard as I mentioned earlier, and perhaps SMTP2GO is interpreting the extra descriptive text incorrectly, causing the validation failure. SMTP2GO might expect just the bare email address ([email protected]) in the sender field without any additional text. Is there anyway to strip out the extra text (“UpdraftPlus on fitlsdog.com”) and just send to the WP admin’s address instead?

    Thank you.

    Plugin Support vupdraft

    (@vupdraft)

    Hi,

    Apologies, I meant I had no issue with sending the email.

    I used this plugin: https://www.ads-software.com/support/plugin/smtp2go/

    Is this the one that you are using?

    Thread Starter ascarola

    (@ascarola)

    Hi

    No. I’m using the “WP Mail SMTP” add-on, version 4.11 (https://wpmailsmtp.com). It uses SMTP2GO as the Mailer. And for the configuration, I’m using the SMTP2GO API key. See here for details: https://wpmailsmtp.com/docs/how-to-set-up-the-smtp2go-mailer-in-wp-mail-smtp/?utm_source=WordPress&utm_medium=plugin-settings&utm_campaign=liteplugin&utm_locale=en_us&utm_content=SMTP2GO%20documentation

    Plugin Support vupdraft

    (@vupdraft)

    Like you said in your initial message. The issue is that the mail comes from:

    UpdraftPlus on mysite.co.uk <[email protected]>

    The plugin doesn’t like this bit UpdraftPlus on mysite.co.uk

    It looks like it’s a paid plugin so I have not be able to have a play.

    I would recommend you reach out to the plugins support as the issue is on the WP Mail SMTP side

    I set up the SMTP2GO API key?to test and received the emails as expected so it’s the addition of WPMail SMTP that is generating the issue

    When you reach out to them, tell them we would be very happy to cooperate to get this working

    Thread Starter ascarola

    (@ascarola)

    Hello again,

    You stated, “It looks like it’s a paid plugin so I have not be able to have a play”; however, I am using the free plug-in for WP Mail SMTP.

    I did reach out to them, and they said:

    “Hi Anthony,

    Sorry to hear you’re having trouble.

    The sender address has not been formatted correctly in your program. Please use our console feature for testing and debugging:?API Console. It looks like we cannot accept special characters (the period) for the name in the sender string as this format works for me:

    “sender”: “UpdraftPlus on Fitlsdog <[email protected]>”,

    Kind regards,
    Dominique
    SMTP2GO”

    Thank you again.

    Plugin Support vupdraft

    (@vupdraft)

    I checked the suggestion by Dominique and it looks like his suggestion would work: https://snipboard.io/gyIO6K.jpg

    UpdraftPlus on Fitlsdog <[email protected]

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.