in reply to Re^5: need help with FTP script
in thread need help with FTP script
I think the problem is the combination with the transfer script.#!/usr/bin/perl -w my $recipient = "xxx\@mydomain.net"; my $sender = "yyy\@mydomain.net"; open(MAIL, "|/usr/sbin/sendmail -t") || die "Cant send mail. Reason: $ +!"; print MAIL "from:$sender\n"; print MAIL "to:$recipient\n"; print MAIL "subject: test mail\n"; print MAIL "Time: ", scalar localtime, "\n"; close(MAIL);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: need help with FTP script
by cc (Beadle) on Jun 16, 2004 at 16:03 UTC |