Install libmail-sendmail-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libmail-sendmail-perl
Description:
simple way to send email from a perl script
Mail::Sendmail is intended to be a very simple and easy-to-setup and -use platform-independent e-mail module. It only requires Perl 5, Sys::Hostname::Long, and a network connection.
Homepage: https://metacpan.org/release/Mail-Sendmail
Version: 0.80-1
Section: perl