Email Validation Script

Closed - This job posting has been filled and work has been completed.

Job Description

Need a script to validate whether an email is real or fake and if its active.

All domains need to be stored on a MySQL DB or read from an MySQL DB.

Verify that the domain / host is valid.
- Check to ensure the data does not exist in table first (7 days limit - setting)
- From the email address extract the domain portion
- Determine if the domain can be looked up and is valid
- Store information NSLOOKUP about domain in a table with last time checked

Verify that the domain has MX record and its valid.
- Check to ensure the data does not exist in table first (7 days limit - setting)
- Determine if the MX server is pingable
- Determine if the MX server is reachable on port 25
- Store information in table with info last time checked

Verify that the domain does not contain bad characters
- Emails with special characters (#$%^*! Etc) should not be processed
- If the emails contain special characters store in DB

Verify that the domain does not typos (optional)
- Verison -> Verizon | Gmial -> Gmail | yahho -> yahoo etc


Verify that the email address is valid
- If conditions 1-3 are satisfied
- Check to determine if the email was NOT verified in the last (7 days)
- Telnet to MX server (port 25) – verify the RCPT to record
- Use random MAIL FROM
- Use random HOSTNAME for verification
- Store information on DB
- Email valid or not
- Last time checked


http://search.cpan.org/~rjbs/Email-Valid-0.190/lib/Email/Valid.pm
http://search.cpan.org/~olaf/Net-DNS-0.68/lib/Net/DNS.pm
http://search.cpan.org/~olaf/Net-DNS-0.68/lib/Net/DNS/Resolver.pm
http://search.cpan.org/~alexp/Net-Domain-TLD-1.69/lib/Net/Domain/TLD.pm
http://search.cpan.org/~kmcgrail/Net-validMX-2.2.0/lib/Net/validMX.pm


====
Pleae let me know if you have any questions.

---
Skills: gmail, yahoo