Sam,
I changed the tee command to put the output file in /home/ssmith
instead of /tmp/msg. I ran another one this morning and the following is
the actual command that I put into the sendit.sh file:
tee /home/ssmith/web_message | /usr/sbin/sendmail -t $DSN -f "$1"
And this is what is in the resulting file "/home/ssmith/web_message":
From: ssm...@ncsgraphics.com
To: sar...@rvtechsolutions.com
Reply-To: itd...@redred.com
Subject: test email
Date: Fri, 01 Apr 2005 08:32:25 -0600
Mime-Version: 1.0
Content-Type: text/plain; charset="utf-8"; format=flowed
Content-Transfer-Encoding: 7bit
test email
Sean
Sam Varshavchik wrote:
RedRed!com IT Department writes:
« HTML content follows »
This is what I got from the tee command that you sent me:
From: <URL:mailto:ssm...@ncsgraphics.com>ssm...@ncsgraphics.com
No, that's not what you actually got.
Because your E-mail program is configured to mangle and spit out all
your typed text as HTML goo, the plain text E-mail message you pasted
in was mutated into some rogue aberration that bears absolutely no
resemblance whatsoever with the original file in your tmp directory.
Please try again.