in reply to Re: Mail::Sender - authentication and design questions
in thread Mail::Sender - authentication and design questions

Well I know some SMTP servers require that you connect and login via POP3 before allowing you to relay messages. But I don't think it is necessary to provide the POP3 login (or any other type of login) inside Mail::Sender. Since that login happens BEFORE opening the SMTP connection it may be done using other modules or external programs easily. So if you have to login via POP3 you may do something like:
use Net::POP3; use Mail::Sender; $pop = Net::POP3->new($server); $pop->login( $username, $password) or die "Failed to login!\n"; $pop->quit(); $sender = new Mail::Sender {smtp => $server, ...}; ...
== Jenda@Krynicky.cz == http://Jenda.Krynicky.cz ==
Always code as if the guy who ends up maintaining your code
will be a violent psychopath who knows where you live.
      -- Rick Osborne, osborne@gateway.grumman.com