Changeset 2384
- Timestamp:
- 03/30/2008 11:29:14 AM (8 months ago)
- Files:
-
- 1 modified
-
trunk/system/helpers/valid.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/helpers/valid.php
r2373 r2384 33 33 { 34 34 // Check if the email domain has a valid MX record 35 return (bool) checkdnsrr(preg_replace('/^ .+@(.+)$/', '$1', $email), 'MX');35 return (bool) checkdnsrr(preg_replace('/^[^@]+@/', '', $email), 'MX'); 36 36 } 37 37
