Need to email from Solaris
10 pts.
0
Q:
Need to email from Solaris
Basicalyy I need to email from Solaris including to, from , reply to address, subject, body and footnote
ASKED: Apr 7 2009  2:24 PM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
3340 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
From ITRC.
This should help:
Create a shell script
chmod 755 on the shell script name

Add something similar to the following:


#!/bin/sh
$tmp=/tmp/tmpmailfile.txt

echo -e "subject: Openview Event -`date +%F`\n" > $tmp
echo -e "$* \n\n" >> $tmp

sendmail -f sender_email_address your_email_address < $tmp

rm $tmp
Last Answered: Aug 27 2009  3:00 PM GMT by Nnf97   3340 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Carlosdl   29845 pts.  |   Apr 7 2009  11:14PM GMT

Could you please provide more details ?
What is exactly what you are asking ?

 
0