You can see the example code is much cleaner and smaller
Update: you can Install modules into your home directory#!/usr/local/bin/perl -w use Net::SMTP; $smtp = Net::SMTP->new('mailhost'); $smtp->mail($ENV{USER}); $smtp->to('postmaster'); $smtp->data(); $smtp->datasend("To: postmaster\n"); $smtp->datasend("\n"); $smtp->datasend("A simple test message\n"); $smtp->dataend(); $smtp->quit;
| Just me, the boy and these two monks, no questions asked. |
In reply to Re: ESMTP, linefeed and <CRLF>
by grep
in thread ESMTP, linefeed and <CRLF>
by com_arkan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |