Email::Sender::Transport::Sendmail - send mail via sendmail(1)
This transport sends mail by piping it to the sendmail command. If the location of the sendmail command is not provided in the constructor (see below) then the library will look for an executable file called sendmail in the path.
To specify the location of sendmail:
my $sender = Email::Sender::Transport::Sendmail->new({ sendmail => $path });
To install Email::Sender, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Email::Sender
CPAN shell
perl -MCPAN -e shell install Email::Sender
For more information on module installation, please visit the detailed CPAN module installation guide.