|
I have the exact same issue here's my test program:
use Net::SMTP::SSL;
$IO::Socket::SSL::DEBUG = 1;
my $smtp = Net::SMTP::SSL->new( 'SMTP',
Host => "mail.peakpeak.com",
Debug => 1,
Port => '465');
if(defined $smtp)
{
print "'$smtp'\n";
} else {
die "SMTP is undefined\n$@$!";
}
$smtp->quit;
Here's the output of this program:
CA file certs/my-ca.pem not found, using CA path instead.
IO::Socket::INET configuration failederror:00000000:lib(0):func(0):reason(0)
at test.pl line 5
SMTP is undefined
Net::SMTP::SSL: Bad service '' at test.pl line 15.
|