Pcore::Core::Event::Listener::Pipe::smtp
P->listen_events( 'LOG.TEST.*', [ 'smtp:', host => 'smtp.gmail.com', port => 465, username => '', password => '', tls => 1, tls_ctx => undef, from => 'user@domain.com', to => 'user@domain.com', tmpl => '<: $timestamp :>', ] );
To install Pcore::SMTP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Pcore::SMTP
CPAN shell
perl -MCPAN -e shell install Pcore::SMTP
For more information on module installation, please visit the detailed CPAN module installation guide.