Hi:
i'm trying to send a mail with this code, but it doesn't work. Please help
@$CDONTS = new COM("CDONTS.NewMail");
@$CDONTS->From = "abc@def.com";
@$CDONTS->To = "hij@qlm.com";
@$CDONTS->CC = "xyz@sss.com";
@$CDONTS->BodyFormat = 0;
@$CDONTS->MailFormat = 0;
@$CDONTS->Subject = "Using CDONTS with PHP4 and IIS";
@$CDONTS->Body = "Blah blah blah blah, bleh...";
@$CDONTS->Send();
@$CDONTS->Close();
print "Mail sent";
?>