mwhiting has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks. I have a script that has been sending mail using Net::SMTP for a while now quite successfully. I recently was asked by my supervisor to add the ability to authenticate in that email script. I added the use Net::SMTP_auth() statement, and then got messages saying it can't find that package. ("Can't locate Net/SMTP_auth.pm")
Another server that I access sometimes also doesn't seem to know what SMTP_auth is. Is it part of the usual Perl? I thought it would be in there by now. I'm on Perl 5.8.4 & 5.8.8 on another server.
I found the post which lists the source code at http://www.perlmonks.org/?node_id=110334 but it's there as a package. I would perhaps need to cut & paste the code into my code??? but it would need modifications for that. Actually, can I used authentication with just Net::SMTP?
Any help you can offer would be great.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Net::SMTP_auth install & usage
by thomas895 (Deacon) on Jun 05, 2012 at 21:27 UTC | |
by mwhiting (Beadle) on Jun 06, 2012 at 02:33 UTC | |
by thomas895 (Deacon) on Jun 06, 2012 at 07:11 UTC | |
|
Re: Net::SMTP_auth install & usage
by Khen1950fx (Canon) on Jun 06, 2012 at 03:52 UTC | |
by mwhiting (Beadle) on Jun 06, 2012 at 11:06 UTC | |
by Khen1950fx (Canon) on Jun 07, 2012 at 00:53 UTC | |
by mwhiting (Beadle) on Jul 02, 2012 at 19:14 UTC |