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

Hello,

I've used your module in the past. Thank you!

While I am not knowledgeable about SMTP AUTH format, it sounds like there is another informal protocol being used, in which you can send through a mail server if you first log in. I think dialup providers may be using this. This protocol might be useful too.

Matt

  • Comment on Re: Mail::Sender - authentication and design questions

Replies are listed 'Best First'.
Re: Re: Mail::Sender - authentication and design questions
by Jenda (Abbot) on Apr 07, 2002 at 14:01 UTC
    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