send-email.pl - Simple program that helps test senders
send-email.pl -via Sender -to Address -from Address -cc Address -bcc Address -subject 'Subject Line' -header Key=Value -body Line Sender Args
perl ./send-email.pl -via SMTP -header X-Test=hello -to 'casey@example.com' -from 'casey@example.com' -body "Hi there" -body "New Line" mx.example.com Debug 1
To install Email::Send, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Email::Send
CPAN shell
perl -MCPAN -e shell install Email::Send
For more information on module installation, please visit the detailed CPAN module installation guide.