Hi
The overall scenario is this:I need to send an html attachment without body:
So i am doing this:
I am adding the following headers in the html file:
From:Sushovan
To:Ssds.sdsdl@ssds.com
Subject: Request for Demo
MIME-Version: 1.0
Content-Type: text/html; charset="iso-8859-1"
<html>
........
</html>
then from my script file i am doing this:
SUBJECT="Type of Exceptions"
TO=Ssds.sdsdl@ssds.com
SPOOLFILE=/tmp/scripsf.html
#echo "Send the E-mail message..."
uuencode $SPOOLFILE $SPOOLFILE | mailx -s "$SUBJECT" $TO
I also tried these options:
/usr/lib/sendmail -t
Ssds.sdsdl@ssds.com< $SPOOLFILE;
/usr/lib/sendmail -t -oi < /tmp/scripsf.html
But none of them seems to be working.Now i am not getting any mail.Though i could check in the system log thaat the status is sent.
Thanks in advance
Susovan