I cannot seem to work out the syntax for Using MIME::Lite through an SMTP server that requires authentication.
I can send properly through a server that doesn't require authorization, so I need to work out the proper way to pass in authentication. MIME::Lite->send('smtp', $mailtags{mailsmtp}, Timeout =>60); Is the 3rd parameter a hash? If so, building the hash like: $mailtags{mailauth} = "user,password"; my %hSmtpparm; $hSmtpparm{Timeout}=60; $hSmtpparm{auth} = $mailtags{mailauth} if (exists($mailtags{mailauth})); MIME::Lite->send('smtp', $mailtags{mailsmtp}, %smtpparm); Since the Net::SMTP->auth is a method, do I need to create subroutine reference? Any help is sorting this out would be appreciated. TIA, Adam Frielink _______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs