umar - 2009-05-19 12:15:26
i try to send email on the my hotmail account but email always come blank i was thinking the problem is my in my code but i found problem in class here is very simple code if you send email its will show you just a blank page nothing
$mimemail->set_from("me@mail.com");
$mimemail->set_to("some@hotmail.com");
$mimemail->set_subject("Nomad MIME Mail: Plain Text + HTML + Attachment");
$mimemail->set_html("<HTML><HEAD></HEAD><BODY>This is a <b>MIME</b> Mail with:<BR><BR>- Plain Text</BR>- HTML</BR>- Attachment</BODY></HTML>");
if ($mimemail->send()){
echo "The MIME Mail has been sent";
}
else {
echo "An error has occurred, mail was not sent";
}