Courriel

 view release on metacpan or  search on metacpan

eg/sendgrid  view on Meta::CPAN

EOF

my $email = build_email(
    from($from),
    to($to),
    subject($subject),
    plain_body($plain),
    html_body($html),
);

# Sendgrid login credentials
my $username = 'yourlogin@sendgrid.net';
my $password = "yourpassword";

my $transport = Email::Sender::Transport::SMTP->new(
    host          => 'smtp.sendgrid.net',
    port          => 587,
    sasl_username => $username,
    sasl_password => $password,
    helo          => 'yourdomain.com',
);



( run in 0.299 second using v1.01-cache-2.11-cpan-4d50c553e7e )