Simple perl based mailer. Needs Net::SMTP. Uses Standard Input, so accepts piped data

Call like
1. echo Alert | perl sendmail.pl jbloggs@domain.com
2. echo Alert | perl sendmail.pl jbloggs@domain.com mailserver.domain.com