30 November 2013

I just got a new CPAN module released: Email::Sender::Transport::SMTPS

it’s a replacement for Email::Sender::Transport::SMTP::TLS.

the new module uses great Net::SMTPS instead of a little messy Net::SMTP::TLS::ButMaintained

here is few examples from the POD:

my $transport = Email::Sender::Transport::SMTPS->new({
  host => 'smtp.gmail.com',
  ssl  => 'starttls',
  sasl_username => '[email protected]',
  sasl_password => 'mypassword',
});
my $transport = Email::Sender::Transport::SMTPS->new(
  host => 'smtp.mandrillapp.com',
  ssl  => 'starttls',
  sasl_username => '[email protected]',
  sasl_password => 'api_key',
  helo => 'fayland.me',
);
my $transport = Email::Sender::Transport::SMTPS->new(
  host => 'email-smtp.us-east-1.amazonaws.com',
  ssl  => 'starttls',
  sasl_username => 'xx',
  sasl_password => 'zzz',
);

and you’re welcome to give it a try and provide feedback!

Enjoy.



blog comments powered by Disqus