Created
August 31, 2018 12:08
-
-
Save eniocarboni/33c12cbee12e54e544117b60e514a5ac to your computer and use it in GitHub Desktop.
Simple local test on smtp protocol with Net:SMTP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /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