Closed (fixed)
Project:
Webform
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
15 May 2007 at 23:17 UTC
Updated:
11 Feb 2008 at 02:54 UTC
This patch verifies that the email's domain is valid thus drastically reducing the chance of invalid emails submitted.
| Comment | File | Size | Author |
|---|---|---|---|
| _webform_validate_email.patch | 813 bytes | snowball43 |
Comments
Comment #1
quicksketchChecking the email using valid_email() would be a good approach here. Use of getmxrr() should be avoided because it is not available on IIS.
Comment #2
quicksketchOops, I meant "valid_email_address()", which it looks like we're already using.
Comment #3
snowball43 commentedO, 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
Comment #4
quicksketchSince this patch hasn't seen any activity in over 6 months I'm going to go ahead and close.