Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Send an E-mail using NET::SMTP

by tcf22 (Priest)
on Oct 09, 2003 at 20:05 UTC ( [id://298089] : note . print w/replies, xml ) Need Help??


in reply to Send an E-mail using NET::SMTP

Not sure if MIME::Lite supports authentication.

Try Mail::Sender by jenda. It supports authentication to the SMTP server.
$sender->MailMsg({ smtp => 'mail.server.com', from => 'somebody@perlmonks.org', to => 'tcf22@perlmonks.org', subject => 'Sample', msg => 'Mail Sender Sample', auth => 'NTLM', authid => 'tom', authpwd => 'pass' }) || die "$Mail::Sender::Error\n";
Update: Added Code Sample.

- Tom

Replies are listed 'Best First'.
Re: Re: Send an E-mail using NET::SMTP
by Zitoune (Beadle) on Oct 09, 2003 at 20:48 UTC
    I have problem installing the package.
    Is there any PPM file available ??

      http://Jenda.Krynicky.cz/perl

      Jenda
      Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.
         -- Rick Osborne

      Edit by castaway: Closed small tag in signature

        Everytime i try to install it with the make file it's skipping the installation and it doesn't say why.
        Any clue ??