Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1486411

    I use the WP SMTP Mail plugin.

    Enfold is generating regular errors from the plugin. Here’s the error report:
    Debug Event Details
    Type
    Error
    Date
    July 7, 2025 at 2:06 pm
    Content
    Mailer: Other SMTP
    SMTP Error: data not accepted.SMTP server error: DATA END command failed Detail: Spam message rejected
    SMTP code: 554 Additional SMTP info: 5.7.1
    Source
    Enfold
    /home/storage/322/4077322/user/htdocs/wp-content/themes/enfold/framework/php/class-form-generator.php (line: 1485)

    I just found out the errors actually started in April 2024 but as I use the free version of the plugin I don’t get notified via email when an error occurs so I’d only notice it if I logged in to the WP admin panel and there had been a recent error (as I did today). Unfortunately when there is a successful send of an email the plugin clears the error flag from the admin bar which is why I only discovered this today.

    The errors are generated at random intervals. There have been one a day for the past 3 days, prior to that it was June 30, two on June 28, two on June 26, June 25, June 24, June 22, June 3, May 31 etc.

    Any ideas?

    WordPress 6.8.1, Enfold 7.1.1

    #1486425

    Hey zimbo,

    Thank you for the inquiry.

    This seems to be related to the autoresponder. Did you create a custom autoresponder using the avf_form_custom_autoresponder filter? Try temporarily disabling the autoresponder option by leaving the Content > Backend > Autorespond text field blank.

    Best regards,
    Ismael

    #1486461

    I don’t know what the autoresponder is and I don’t have a custom one. I’ve never heard of the filter you mention.

    Where do I find Content > Backend > Autorespond you mention? (PS. Another error was generated overnight.)

    #1486489

    Hi,

    Thanks for the update. You will find the option in the Contact Form element. To disable the autoresponder, just leave the Content > Backend > Autorespond field empty.

    Best regards,
    Ismael

    #1486604

    So I have an email address in “Autoresponder From E-Mail Address” (same as the delivery email) but the fields “Autoresponder Reply To E-Mail Address”, “Autoresponder Subject” and “Autoresponder Text” are all blank/empty.

    Do I need to delete the address in “Autoresponder From E-Mail Address” to stop the errors?

    #1486629

    Hi,

    Thank you for the info.

    If the autoresponder fields are empty, the contact form will not send an autoresponse when a message is submitted.

    Based on the debug event details, it seems that spam messages are being blocked as indicated in the following lines, which is probably a good thing.

    SMTP Error: data not accepted.SMTP server error: DATA END command failed Detail: Spam message rejected
    SMTP code: 554 Additional SMTP info: 5.7.1
    

    Are you experiencing any issues receiving messages from the contact form?

    Best regards,
    Ismael

    #1486643

    you are shure about your smtp server address? – and Password – and how do you connect SSL or TLS ?
    What provider is it?

    On wp smtp mail there are tools – email test : did you send a test-mail ? “Send a Test Email”

    next : did you edit your Domain DNS and have you set the – spf-record ; DMARC and maybe DKIM ?

    #1486658

    The plugin is working fine – I can send test emails, plus I have Updraft Plus installed for backups and I receive emails without problem from that plugin when the backup completes.
    I’m almost certain it is related to the Contact Form element. As mentioned in the OP, I was unaware of this until recently, (a) because I was getting emails from the site and (b) because SMTP Mail removes the error flag after a further successful send so it was pot luck if I logged in to the site when an error has been flagged.
    Investigating a bit more, I’ve found we are getting a significant amount of messages from the Contact Form that are correctly being flagged as spam (and being routed into the Spam folder – there is some real garbage coming in…). The spammers seem to easily get around the Enfold Numeric Captcha. These emails don’t come to me (as webmaster) but to a member of the Henley Society who is, shall we say, less than tech-savvy and wasn’t aware of them. But they are being flagged as spam so they don’t bother him.
    Now I’m aware of this I will follow it more closely: specifically, I’m wondering if there is a link between receiving a spam message from the Form and SMTP Mail generating an error.
    Please keep this open and I’ll update when I hopefully have further info.

    #1486722

    Hi,

    Thank you for the info.

    Yes, unfortunately, the Enfold Numeric Captcha can be easily bypassed nowadays. We recommend activating Google reCAPTCHA or use a more advanced contact form plugin with security-related extensions, such as Contact Form 7, Gravity Forms, or WPForms. Please check the links below.

    https://wordpress.org/plugins/contact-form-7-honeypot/
    https://wpforms.com/docs/how-to-set-up-and-use-recaptcha-in-wpforms/

    We’ll keep the thread open.

    Best regards,
    Ismael

    #1486876

    In the past 2 days we’ve had 6 spam emails and 3 of the SMTP errors. There is no correlation in the time stamps between any of the emails and the SMTP errors.

    There have been 2 successful email receipts from the Contact Form last Friday and Saturday that are sitting in the recipient’s Inbox (he is on holiday and not checking emails at present). Neither of these emails ties up with the SMTP errors either.

    I have enabled Debug Email Sending in the plugin to see if that can provide a more detailed data when an error is generated.

    #1486908

    Hi,

    Thank you for the info.

    Have you tried using the contact form yourself? Do you receive the emails correctly every time? Try to do this every day at different intervals and see if you can trigger the “Spam message rejected” error from the SMTP server. If the issue doesn’t occur from your own use of the contact form, then it’s likely that the SMTP server is correctly doing its job — rejecting spam messages as actual spam.

    You can also reach out to your hosting or email provider to clarify the issue and request more information about what is causing the rejections.

    Best regards,
    Ismael

    #1486916

    Mailer: Other SMTP
    SMTP Error: data not accepted.SMTP server error: DATA END command failed Detail: Spam message rejected
    SMTP code: 554 Additional SMTP info: 5.7.1

    ______

    i use smtp mail very often – and if your settings are ok. there are no errors at all.
    As mentioned above – check your DNS settings of the concerning Domain.

    see here : Listpoints 3,4,5,6
    https://www.courier.com/error-solutions/smtp-error-554

    Whether an email is considered spam or not depends on the recipient. If the SPF record is missing, some recipients will accept it, while others will immediately classify it as spam. The same applies to DMARC1.

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