Greetings!
I have a script that uses sendmail. It used to work. I didn't touch
it. It doesn't work now. The log file tells me that there are no
recipient addresses. It looks to me like they are. Here's the code:
# Send a confirming E-mail.
open (SENDMAIL, "|/usr/lib/sendmail -oi -t") or die "Cant fork
sendmail: $!\n";
print SENDMAIL <<"ENDOFMAIL";
From: therobs\@n2net.net
To: interrobang\@yahoo.com
Subject: Volunteer Scheduling - $month $day, $year
Contact: $usrvals[2] $usrvals[3]
E-Mail: $usrvals[5]
IP Address: $ENV{'REMOTE_ADDR'}
Telephone: $usrvals[4]
Volunteer Date: $month $day, $year
Train: $train
Position: $position
!!Note: Generated by CVSR's online scheduling system!!
ENDOFMAIL
close(SENDMAIL);
# open (SENDMAIL, "|/usr/lib/sendmail -oi -t") or die "Cant fork
sendmail: $!\n";
# print SENDMAIL <<"ENDOFMAIL";
# From: $usrvals[5]
# To: mis\@cvsr.com
# Subject: Volunteer Scheduling - $month $day, $year
#
# Contact: $usrvals[2] $usrvals[3]
# E-Mail: $usrvals[5]
# IP Address: $ENV{'REMOTE_ADDR'}
# Telephone: $usrvals[4]
# Volunteer Date: $month $day, $year
# Train: $train
# Position: $position
# !!Note: Generated by CVSR's online scheduling system!!
#ENDOFMAIL
# close(SENDMAIL);
The commented-out code once worked. Can anyone tell me why mine isn't?
Thanks very much!
RobR
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]