Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Libraries

    Net::SMTP::TLS 0.12

    Download button

    No screenshots available
    Downloads: 844  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Fair (2.0/5)
    1 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Alexander Christian Westholm | More programs
    Perl Artistic License / FREE
    April 20th, 2007, 04:05 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    Net::SMTP::TLS description

    Net::SMTP::TLS is an SMTP client supporting TLS and AUTH.

    Net::SMTP::TLS is an SMTP client supporting TLS and AUTH.

    SYNOPSIS

    use Net::SMTP::TLS;
    my $mailer = new Net::SMTP::TLS(
    'your.mail.host',
    Hello => 'some.host.name',
    Port => 25, #redundant
    User => 'emailguy',
    Password=> 's3cr3t');
    $mailer->mail('emailguy@your.mail.host');
    $mailer->to('someonecool@somewhere.else');
    $mailer->data;
    $mailer->datasend("Sent thru TLS!");
    $mailer->dataend;
    $mailer->quit;

    Net::SMTP::TLS is a TLS and AUTH capable SMTP client which offers an interface that users will find familiar from Net::SMTP. Net::SMTP::TLS implements a subset of the methods provided by that module, but certainly not (yet) a complete mirror image of that API.

    The methods supported by Net::SMTP::TLS are used in the above example. Though self explanatory for the most part, please see the perldoc for Net::SMTP if you are unclear.

    The differences in the methods provided are as follows:
    The mail method does not take the options list taken by Net::SMTP
    The to method also does not take options, and is the only method available to set the recipient (unlike the many synonyms provided by Net::SMTP).
    The constructor takes a limited number of Net::SMTP's parameters. The constructor for Net::SMTP::TLS takes the following (in addition to the hostname of the mail server, which must be the first parameter and is not explicitly named):

    NoTLS - In the unlikely event that you need to use this class to perform non-TLS SMTP (you ought to be using Net::SMTP itself for that...), this will turn off TLS when supplied with a true value. This will most often cause an error related to authentication when used on a server that requires TLS
    Hello - hostname used in the EHLO command
    Port - port to connect to the SMTP service (defaults to 25)
    Timeout - Timeout for inital socket connection (defaults to 5, passed directly to IO::Socket::INET)
    User - username for SMTP AUTH
    Password - password for SMTP AUTH

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    SMTP client | TLS support | AUTH support | Net::SMTP::TLS | SMTP | client

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM