SYNOPSIS

 my $sender = Mail::Transport::SMTP->new(...);
 $sender->send($message);

 $message->send(via => 'smtp');

See SYNOPSIS in Mail::Transport::Send

DESCRIPTION

This module implements transport of Mail::Message objects by negotiating to the destination host directly by using the SMTP protocol, without help of sendmail, mail, or other programs on the local host.

warning: you may need to install Net::SMTPS, to get TLS support.

See DESCRIPTION in Mail::Transport::Send