Anyone have any experience with sendmail?
I'm creating messages with the to, from, subject, body etc. in a temp directory and then want to send all of the messages after they are created using the sendmail -t command
An example message:
Subject: DDTS Reminder
From: campbelr
To: campbelr,robert.e.campbell@baesystems.com
These defects have been in New longer than 2 days.
DTFnl31127 Tracking DR for LSS CSIL Migration
DTFnl31128 Tracking DR for CSIL Migration
i'm able to send one message using this command:
cat temp/message1 | sendmail -t
but when i tried this:
cat temp/* | sendmail -t
it concatenated all the messages into one and then sent it. How can I send each message individually?