SYNOPSIS

nagios check for complete email sending

USAGE

just run

./check_email_sender.pl /path/to/conf.yml

when conf.yml can be

host: mailhost.example.com
port: 25 
to: monitor-recipient@example.com
from: monitor@example.com 

I really think that every parameter are self-explained. please email me if not.

You can also pass every param from argv (Thonas said it's a feature):

./check_email_sender.pl host mailhost.example.com port 25 to monitor-recipient@example.com from monitor@example.com