I need a script that does the following:
Given a list of domain names as either [url removed, login to view] or [url removed, login to view], provided in either text/csv or in a textbox via form:
insert domain name into DB
get email address for each domain name from whois (need to make sure that you are not banned from whatever whois you are using).
insert email address into DB
allow me to mass email all or selected domain owners from simple web interface that allows me to input:
from email, from name, smtp server/name/password
subject and message should support simple templating functions
_DOMAIN_ = domain name we are using
insert into database which domains were emailed and on which date.