mel awaisi wrote:
> Hello,
>
> i have the script below retest.pl, and whe i try to run it i get nothing.
>
> [EMAIL PROTECTED] cgi-bin]# perl retest.pl
> [EMAIL PROTECTED] cgi-bin]#
>
> -retest.pl
> # Open Sendmail
> open(MAIL, "|/usr/lib/sendmail -t");
> #
mel awaisi wrote:
Hi, this is the whole script:
#!/usr/bin/perl
use strict;
use warnings;
# Open Sendmail
open(MAIL, "|/usr/lib/sendmail -t");
# Write to the sendmail program
print MAIL "To: [EMAIL PROTECTED]";
print MAIL "From: [EMAIL PROTECTED]";
print MAIL "Subject:Yoour Subject\n\n";
print MA
Hi, this is the whole script:
#!/usr/bin/perl
use strict;
use warnings;
# Open Sendmail
open(MAIL, "|/usr/lib/sendmail -t");
# Write to the sendmail program
print MAIL "To: [EMAIL PROTECTED]";
print MAIL "From: [EMAIL PROTECTED]";
print MAIL "Subject:Yoour Subject\n\n";
print MAIL "Your messsage
Hello,
i have the script below retest.pl, and whe i try to run it i get nothing.
[EMAIL PROTECTED] cgi-bin]# perl retest.pl
[EMAIL PROTECTED] cgi-bin]#
-retest.pl
# Open Sendmail
open(MAIL, "|/usr/lib/sendmail -t");
# Write to the sendmail program
print MAI
Hello All,
This script does 2 things - parses form data from a form, then emails it out.
Well it parses the data, but doesn't email it; or
With different, non-CGI.pm parsing code (from formmail.cgi) it does email
out through sendmail.
Anybody have any ideas why it doesn't work like this???
R