Net::SMTP::Retryable

Net::SMTP wrapper
Download

Net::SMTP::Retryable Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Marc Prewitt
  • Publisher web site:
  • http://search.cpan.org/~mprewitt/

Net::SMTP::Retryable Tags


Net::SMTP::Retryable Description

Net::SMTP wrapper Net::SMTP is a Perl module that offers some automatic redundancy by allowing you to specify multiple hosts. On connection, a connection will be tried to each host until one succeeds. However, if you loose your connection, it is up to you to reconnect and resend your message. This leads to code which has reconnection and retries and usually ends up as a mess.SYNOPSIS use Net::SMTP::Retryable; %options = ( connectretries => 2, sendretries => 5, retryfactor => .25 ); $smtp = Net::SMTP->new($mailhost, %options); $smtp = Net::SMTP->new(, %options); $smtp->SendMail(mail=>$from, to=>$to, data=>$body); $smtp->mail($from); $smtp->to($to); $smtp->data($body); Requirements: · Perl


Net::SMTP::Retryable Related Software