I need someone to write me two scripts that perform different functions.
1) program that validates email addresses.
The email addresses will be stored in a file called [url removed, login to view] and each line will have a new email address on the line.
Each domain name must go through three checks:
1) Test the syntax
2) Test the DNS
3) Test the SMTP Validation
The outcome would then be pushed to the screen stating the status:
<email> FAILED -- (Reason of what check failed first must go here)
2) program that spiders/scrapes a webpage for emails
We run a forum, and we want to scrape our own form for email addresses. This should be a script file run on a linux machine (centOS)
./scraper <url> <link_level>
It should then put all the emails into one file ([url removed, login to view]) with 1 email address per line.
The scraper should also follow links so that it continues down the links like a spider