Comment email address validation (4 posts)

  1. galbaras
    Posted 5 years ago #

    Too often, comments seem OK and I approve them, only to receive a failure notice from the respective mail server saying the commenter's address was not valid.

    I doubt there's anybody in the known universe who would approve a comment after learning that the commenter has been dishonest. Therefore, I suggest implementing an email address validation mechanism before the comment even goes to moderation.

    This could be done in 3 ways:

    1. Interrogating the mail server interactively and giving the commenter a chance to correct, in case it was an honest mistake
    2. Interrogating the mail server after saving the post as "hidden" or some other temporary status and setting its status to "pending" or "deleted" based on the result
    3. Sending a confirmation link to the commenter, saving the commend as "hidden" and setting it to "pending" only after the confirmation link is activated

    Of course, once an email has been confirmed, it should be saved and never validated again.

    I have thought of accepting comments only from logged in users, but it can be intimidating for some people (it implies being put on a list and getting spam) and is therefore not suitable as a validation solution.

    Actually, now that I think about it, I've had failure notices from user registrations, which means that option 1 above could be used also to verify user registrations instead of the confirmation link.

  2. Martin Lormes
    Posted 5 years ago #

    I have written a plugin (http://wordpress.org/extend/plugins/comment-email-verify/) that sets the comment to "approved" once the comment author clicks on the confirmation link. - I'll consider your workflow ideas for a future version. Please let me know what you think about the current version!

  3. Gouri
    Posted 5 years ago #

    This would be really nice.

  4. galbaras
    Posted 5 years ago #

    @tgnab, well done! I've installed on 4 blogs.

    What do I get for the idea? ;)

Topic Closed

This topic has been closed to new replies.

About this Topic