Dec 30, 2011, 8:19 AM
Post #11 of 12
This connection snippet works for me.
Re: [mrice1] Stumped by Net::SMTP
[In reply to]
my $server = 'my_smtp_srv_hostname';
my $from = 'firstname.lastname@example.org';
my $to = 'email@example.com';
my $smtp = Net::SMTP->new($server,
hello => $from,
Debug => 1);
die unless $smtp;
print "established smtp connection\n";
If it doesn't for you, then maybe you need to have some proxy settings configured?