WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
[resolved] Block email address or domain (3 posts)

  1. swamparoo
    Member
    Posted 6 months ago #

    I would like to be able to block domains for e-mail addresses. Mainly, if a user puts an e-mail address of @yahoo.com in the From filed it would give an error. Would be nice to have a custom error message for this. I don't see any type of blacklist other than the Comment Blacklist. Comment Blacklist only blocks via IP address. I don't need to block by IP address.

    https://wordpress.org/plugins/contact-form-7/

  2. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 6 months ago #

    See Comment Blacklist.

    Comment Blacklist only blocks via IP address.

    No. You can use any words in it.

  3. swamparoo
    Member
    Posted 6 months ago #

    Was hoping to have a custom error message but this works fine. I'll just put a warning on the contact form letting users know that certain e-mail domains are blocked. Tested it out and it works fine. This combined with Ban Hammer solves my issue of people using a certain e-mail provider on the contact form or trying to sign up using this e-mail provider's email accounts.

Reply

You must log in to post.

About this Plugin

About this Topic