• Resolved clausfaber

    (@clausfaber)


    Hi,

    I have a small feature request which might be easy to implement:

    It would be nice if the plugin checks if the email address is valid upon entry.

    I regularly have fails with users registering something like someone@gmeil.com, and even a few spammers registering from mail2.xyz.com (yes, I could prevent that with email confirmation, true).

    I guess there is even a PHP function that does this: domain_exists(). Could be easy, as you check the registration already against blocked strings?

    Many thanks,
    Claus

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Ultimate Member Support

    (@ultimatemembersupport)

    Hi @clausfaber,

    Please check this code snippet, you should be able to adapt it according to your needs.
    Block any registration that does not use @gmail as mail provider

    Regards.

    Plugin Support Ultimate Member Support

    (@ultimatemembersupport)

    Hi @clausfaber,

    This thread has been inactive for a while, so we will go ahead and mark it Resolved. ..Please feel free to re-open this thread by changing the Topic Status to ‘Not Resolved’ if any other questions come up and we’d be happy to help. 🙂

    Thread Starter clausfaber

    (@clausfaber)

    Thank you for the snippets. They allow a “positive list” of domains that are valid (making all other invalid). The thing I am looking for ist still different: let PHP check if the domain exists. I’ll try to modify the function to check that… Thanks, Claus

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Feature request: check domain existence on registration’ is closed to new replies.