Really sorry about this post. Should have looked aroung google a bit. No need to reply. I figured it out. Thanks!
-James -----Original Message----- From: James Kelty [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 28, 2002 9:44 AM To: [EMAIL PROTECTED] Subject: Using a file as body of message..... Hello, Rather then calling sendmail with a redirect to use a file as the body of a message, how could I do this in perl? /usr/sbin/sendmail [EMAIL PROTECTED] < ./file.txt I am trying to avoid slurpping the file into an array. my @array = `/bin/cat .../file.txt` Also, is it possible to tell sendmail that the file type is html? -James James Kelty Director of Operations Everbase Systems, LLC 624 A Street Ashland, OR 97520 [EMAIL PROTECTED] 541.488.0801 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]