Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 07-28-2007, 06:46 AM   #1
Registered: Sep 2005
Distribution: Ubuntu
Posts: 249

Rep: Reputation: 30
(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.

Last edited by sadarax; 07-28-2007 at 11:24 PM.
Old 07-28-2007, 09:48 AM   #2
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,214

Rep: Reputation: 1405Reputation: 1405Reputation: 1405Reputation: 1405Reputation: 1405Reputation: 1405Reputation: 1405Reputation: 1405Reputation: 1405Reputation: 1405
You can d/l it from here
To install it run:
perl Makefile.PL
make install (as root)
Old 07-28-2007, 04:32 PM   #3
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,047
Blog Entries: 11

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Or you can have the CPAN module install it (and follow all
dependencies for you, if any).
perl -MCPAN -e 'install Net::SMTP::TLS'



authentication, email, mail, modules, perl, smtp, tls

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
install Pear Net/SMTP, Pear Log and Pear DB modules cccc Debian 0 02-26-2007 09:33 AM
Authentication(auto/Net/SMTP/ in QNX(sendmail uing perl script) kuttylinux Programming 1 09-20-2006 01:58 AM
Postfix SMTP AUTH (and TLS) HOWTO tommytomato Linux - General 2 05-24-2006 11:00 AM
Postfix With SMTP-AUTH And TLS carlainz Linux - Software 0 05-21-2006 04:13 AM
Debian Exim4 SMTP Auth TLS? shaun_bakker Linux - Software 1 06-30-2005 12:04 PM

All times are GMT -5. The time now is 06:42 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration