Skip to content

Instantly share code, notes, and snippets.

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();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment