in reply to ESMTP, linefeed and <CRLF>
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. |
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: ESMTP, linefeed and <CRLF>
by Anonymous Monk on Jul 26, 2002 at 06:57 UTC |