Install libnet-smtp-tls-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libnet-smtp-tls-perl
Description:
Perl SMTP client library supporting TLS and AUTH
Net::SMTP::TLS is a TLS and AUTH capable SMTP client library which offers an interface that users will find familiar from Net::SMTP. Net::SMTP::TLS implements a subset of the methods provided by that module, but certainly not (yet) a complete mirror image of that API.
Homepage: https://metacpan.org/release/Net-SMTP-TLS
Version: 0.12-3
Section: universe/perl