mail question

2005-03-09 Thread Amy Kline
Hi, How do I modify the following code to email a file (textfile.txt) to [EMAIL PROTECTED] open (MAIL, "|/usr/bin/mail [EMAIL PROTECTED]"); print MAIL "Subject: test"; print MAIL "This is a test"; close MAIL; The above code works fine but instead of sending the text - "This is a test", I would li

mail question

2005-03-08 Thread Amy Kline
Hi, How do I modify the following code to email a file (textfile.txt) to [EMAIL PROTECTED] open (MAIL, "|/usr/bin/mail [EMAIL PROTECTED]"); print MAIL "Subject: test"; print MAIL "This is a test"; close MAIL; The above code works fine but instead of sending the text - "This is a test", I would li