Skip Menu |

This queue is for tickets about the libnet CPAN distribution.

Report information
The Basics
Id: 131626
Status: new
Priority: 0/
Queue: libnet

Owner: Nobody in particular
Requestors: BESINT [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: Net::SMTP->new() Host array with empty return nothing in host() and fail starttls()
Download (untitled) / with headers
text/plain 590b
In Host array of Net::SMTP->new host can not be empty if then called starttls() and produce "Cannot determine peer hostname for verification". host() returns empty too. But if send to array a knowingly false host, then everything works. Error: my $smtp_server=""; my $smtp = Net::SMTP->new( Host => [$smtp_server, ""], ); $smtp->host(); # empty $smtp->starttls(); # "Cannot determine peer hostname for verification" Work: my $smtp_server="zzz"; my $smtp = Net::SMTP->new( Host => [$smtp_server, ""], ); $smtp->host(); # "" $smtp->starttls(); # work

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to