Support » Plugin: Wordfence Security - Firewall & Malware Scan » Deleted mails from Contact Form 7

  • Resolved victoriakliniken


    Aside from Wordfence, I use a plugin called “Simple History” that shows me what happens
    on the site.
    We have a lot of forms on the site, The forms are handled by the “Contact Form 7”, plugin mail is sent by “Post SMTP” using the Google API.
    Lately I’ve seen a lot of these emails being deleted in the “Simple history”

    The deleted mails does not reach our mailbox, but not all mails are deleted.

    Simple History examples:
    Deleted skickat e-postmeddelande “Privat: Ang. undersökning”
    Deleted skickat e-postmeddelande “Fettsugning”
    Deleted skickat e-postmeddelande “Privat: Förfrågan från hemsidan om Bröstförstoring: Bröstförstoring”

    This is an example of the meta data that was saved:

    Key Value
    id 56
    logger SimplePostLogger
    level info
    date 2017-11-17 11:34:35
    message Deleted {post_type} “{post_title}”
    initiator other
    context_message_key post_deleted
    post_id 7509
    post_type postman_sent_mail
    post_title Privat: Förfrågan från hemsidan om Bröstförstoring: Bröstförstoring
    _message_key post_deleted

    My question is: can Wordfence be responsible for deleting these form-mails? Could they be interpreted as a threat and deleted before they are sent?

    I don’t have any users logging in to the site, aside from myself.

    These are my active plugins at the moment:
    Admin Collapse Subpages
    Better Search Replace
    CMS Tree Page View
    Composium – Visual Composer Extensions Addon
    Contact Form 7
    Contact Form DB
    Content Down Arrow
    Cookie Notice
    Custom Facebook Feed
    Duplicate Pos
    Easy Table
    Easy Tables (vc)
    Favicon by RealFaviconGenerator
    Genesis Translations
    Getupdated Visual Composer design addons
    Google Analytics for WordPress by MonsterInsights
    Icegram – Popups, Optins, CTAs & lot more…
    Kama Click Counter
    PDF Embedder
    Post SMTP
    Reusable Content & Text Blocks by Loomisoft
    Reveal IDs
    RJ Quickcharts
    Scripts n Styles
    Simple Custom Post Order
    Simple Download Monitor
    Simple History
    Smart Passworded Pages
    Smart Slider 3 Pro
    Templatera Widget
    Victoriakliniken Gallery
    Visualizer: Charts and Graphs Lite
    Wordfence Security
    WP BackItUp Community Edition
    WPBakery Page Builder
    WP Fastest Cache
    WP Fastest Cache Premium
    WP Smush
    Yoast SEO Premium

    Best regards

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • barnez


    Just a thought. Do you have anything in the Comment Blacklist (Settings >> Discussion)?
    If any emails contain words found in the Comment Blacklist then they are treated as spam and deleted.

    Thread Starter victoriakliniken


    Thanks for your input. No, nothing there.
    These forms have been working flawlessly, sending their mails as they should, until I installed Wordfence.



    I have many client sites that use Contact Form 7 and Wordfence and have never had any deleted emails as a result of Wordfence.

    You could throw Wordfence in Learning mode and try some email sends to have it learn these are allowable transactions, but it’s likely something else that is causing the issue.

    Maybe look in your CPanel’s (or whatever Hosting interface equivalent you have) Email Delivery/Tracking reports for other errors that may help you pinpoint the cause…



    Hi @victoriakliniken,

    Indeed, Wordfence itself wouldn’t delete anything.

    Just to make sure Wordfence is actually involved in this, can you confirm that the issue still occurs if you temporarily deactivate Wordfence?

    Also, as suggested by @bluebearmedia, you could try and switch the Firewall Status to “Learning Mode“.

    Thread Starter victoriakliniken


    Thank you @bluebearmedia and @wyfann for your suggestions.

    – It seems odd it would be on the server side. Issue started ocurring just after installing Wordfence.
    – I’ve been on the same server for over a year without issues.
    – I’ve used Contact form 7 for appx 2 years without issues.

    However, I haven’t seen these issues before BUT I’ve never used the Simple History-plug-in before either. So this might have been going on without me seeing it OR “Simple History” might have it wrong.

    I’ve had no complaints from site visitors about not getting a respons on their enquiries.

    I’ll keep checking.

    Best regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Deleted mails from Contact Form 7’ is closed to new replies.