On Feb 24, 2009, at 8:31 AM, Eddie Chen wrote:

Adam,

         I am writing  FTP and SSH-FTP in PERL to send data out
automatic
as well... I'm  interested of take a look at your script... Thanks


Well, "wrote" doesn't actually mean "still have access to it."  It was
at a customer site for internal data movement, and I (contractually)
couldn't keep a copy.

But the idea is just construct a new connector with Net::SMTP->new(),
set the from and to parameters appropriately, and then

smtp->data();
while (<>) {
        smtp->datasend($_);
}

smtp->dataend();

Adam

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to