Sending Mail Via Mimemail

Hi,

I am using drupal and please see a scenario of mail sending.




$Adminmsg1 = "";

$Clientmsg2  = "";

if(mimemail( $Adminmsg1)) //if mail is sent correctly to admin then

{

  mimemail($Clientmsg2);

}



a) if the email id of client given is correct, then mail sent to both admin and client.Its working.

b)if the client gives wrong mail id,then we expect the admin to receive mail.But it is not sending any mail to the admin in this case.

The same scenario happens if using ‘drupal_mail_send’.

It seems like even if the mail is not sent successfully,it returns true.

How can I handle this?