Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Simple local test on smtp protocol with Net:SMTP
#! /usr/bin/perl
use Net::SMTP;
$smtp=Net::SMTP->new(Host=>'localhost', Debug=>1);
die "Unable to connect\n" unless $smtp;
print $smtp->banner();
$smtp->quit;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.