CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Intermediate:
Using Net:SMTP::TLS


New User

Feb 25, 2011, 5:17 PM

Post #1 of 1 (739 views)
Using Net:SMTP::TLS Can't Post

I am trying to run the following:

use Net::SMTP::TLS;

eval {
my $mailer = new Net::SMTP::TLS(
'mail server',
Hello => 'another host',
Port => 465,
User => '',
Password => 'My password');

$mailer->mail('my mail address');
$mailer->datasend("Sent thru TLS!");
} or do {
print "\n\nError sending mail. Error: $@\n";

But is comes back as "can not connect to mail host"

My mail host is set up as:

Secure Authentication: No
connection security: SSL/TLS

Any ideas what is going on?


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives