This patch verifies that the email's domain is valid thus drastically reducing the chance of invalid emails submitted.

CommentFileSizeAuthor
_webform_validate_email.patch813 bytessnowball43

Comments

quicksketch’s picture

Status: Needs review » Needs work

Checking the email using valid_email() would be a good approach here. Use of getmxrr() should be avoided because it is not available on IIS.

quicksketch’s picture

Oops, I meant "valid_email_address()", which it looks like we're already using.

snowball43’s picture

O, thanks, I didn't know IIS doesn't support getmxrr. I knew CheckDnsrr wasn't supported. How could I make it detect if the server is using Apache or IIS?

Also, the patch is applied to sites/modules/webform/components/email.inc

quicksketch’s picture

Title: Email Verification Patch » Verify validity of email domains
Status: Needs work » Closed (fixed)

Since this patch hasn't seen any activity in over 6 months I'm going to go ahead and close.