Janek, YAY, that was the problem. So, now it sends it correctly. I am seeing one other problem now that i can get that to work, i have changed it to
my $recipient = $q->param( "recipient" ) =~ /^[\w@\,\-]+$/; print MAIL <<EOM; To: $recipient From: mememememe\@yahoo.com Reply-To: cynkim\@yahoo.com Subject: Perl security test $recipient is a variable that was called from the form. In that particular form, $recipient was given the value of [EMAIL PROTECTED] But it won't send. Any ideas? thanks:) thia --- Janek Schleicher <[EMAIL PROTECTED]> wrote: > No Longer Exists wrote at Wed, 14 Aug 2002 21:40:41 +0200: > > I have this code that redirects just fine, gives me no > > errors, yet will NOT send out the e-mail that is > > written within the script. IT is running on a AIX > > machine. Anyone have any ideas on how to get the > > e-mail to run? i have to rewrite ALL 100+ scripts > > within my companies cgi-bin within 3 weeks and could > > REALLY use the help:) > > ... > > open MAIL, "| '/usr/lib/sendmail' -t -i" or die "Could > > not open sendmail: $!"; > > > > print MAIL <<EOM; > > To: cynkim\@yahoo.com > > From: mememememe\@yahoo.com > > Reply-To: cynkim\@yahoo.com > > Subject: Perl security test > ^^^^^^ > > > > This is a test, it is only a test > > EOM > > close MAIL or die "Error closing sendmail: $!"; > > I'm not sure, > but I can't imagine that sendmail works with indented headers in that way > (even if these are only tabs). > > You should better try: > > print MAIL <<EOM; > To: cynkim\@yahoo.com > From: mememememe\@yahoo.com > Reply-To: cynkim\@yahoo.com > Subject: Perl security test > > This is a test, it is only a test > EOM > close MAIL or die "Error closing sendmail: $!"; > > > Best Wishes, > Janek > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]