From: "Thomas Williams" <[EMAIL PROTECTED]>
> Thank you all for your help, but it's my fault for forgetting a major
> piece of information.
> 
> Not only do I need to send a email with an attachment, through perl,
> but it needs to be through a smtp server that required the username
> and password sent, before it will allow me to send anything.

Mail::Sender does support authentication.
Currently the only protocols supported are LOGIN, PLAIN, CRAM-MD5 and 
NTLM though.

        #!perl
        use Mail::Sender;
        my $sender = new Mail::Sender {smtp => 'localhost'};
        die "Error: $Mail::Sender::Error\n" unless ref $sender;
        print join(', ', $sender->QueryAuthProtocols()),"\n";
        __END__

will tell you what protocols are supported by your server.

Jenda

===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed 
to get drunk and croon as much as they like.
        -- Terry Pratchett in Sourcery


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to