sendmail not working

Hi
I am trying to send mail using sendmail as well as mai option.But its not getting delivered in the recipient address.However on checking systemlog ,i could find the statusas "sent".What might be the issue.

Regards
S

Can you provide an example of the command you are using? I have seen examples where a parameter is being mistaken for part of an address, and was simply overlooked by the programmer.

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