-   Programming (
-   -   Perl Net::SMTP::TLS (using downloaded modules) (

sadarax 07-28-2007 06:46 AM

(SOLVED) Perl Net::SMTP::TLS (using downloaded modules)
I am trying to write a perl script to send email using SMTP authentication. I am still new to Perl so I do not know how to do everything yet. I am using Debian Stable and Ubunutu 7.04.

When I just use Net::SMTP, the script works sometimes, but not all the time. I would like to use this TLS module to do real authentication with a smtp-server/port/login/password:

In my script, if I try to use:


  use Net::SMTP::TLS;
It complains that the TLS module is not available. I would like to know how to download the source for the TLS module and how to either install it, or use it locally with my script. Direct link to TLS module here:

Thanks for any help in advance

EDIT: This issue has been solved. Thanks.

bathory 07-28-2007 09:48 AM

You can d/l it from here
To install it run:

perl Makefile.PL
make install (as root)

Tinkster 07-28-2007 04:32 PM

Or you can have the CPAN module install it (and follow all
dependencies for you, if any).

perl -MCPAN -e 'install Net::SMTP::TLS'


All times are GMT -5. The time now is 03:29 PM.