zerohero has asked for the wisdom of the Perl Monks concerning the following question:

Hello monks

I would like a simple way to send email through my ISP via perl. This will be a fairly low volume operation. My ISP is sbc, and the instructions say that SMTP Auth must be setup, so I'd need a perl mail client which supports that.

I tried to get this working first with Sendmail, and having perl dispatch to that, but the Sendmail daemon config changes proved to be a bit daunting.

Is there a perl module and some instructions tailored for sending through an ISP?

Replies are listed 'Best First'.
Re: Sending Mail Through ISP (SMTP Auth)
by ig (Vicar) on May 21, 2009 at 03:42 UTC
Re: Sending Mail Through ISP (SMTP Auth)
by Anonymous Monk on May 21, 2009 at 03:11 UTC
Re: Sending Mail Through ISP (SMTP Auth)
by Jenda (Abbot) on May 21, 2009 at 16:35 UTC

    Mail::Sender supports several authentication protocols, hopefully the one you need to use is among them. Use

    use Mail::Sender; print join(', ', Mail::Sender->QueryAuthProtocols('servername')),"\n" +;
    to get a list of those supported by the server. The ones supported by Mail::Sender are PLAIN, LOGIN, CRAM-MD5 and NTLM.

    Jenda
    Enoch was right!
    Enjoy the last years of Rome.