I would like to know how to send a message as a richtext message using php mail() function?
I went through a few examples but all of them use rtf as attachments. Is it possible to email richtext without attaching a rtf document?
I use php 4.1.2 on a linux redhat 7.3 system with apache 1.3 as my webserver.
I tried the email as follows:
$headers = "MIME-Version: 1.0\r\n";
$headers.= "Content-Type: text/richtext\r\n";
$subject = "test";
$message = "testing rtf email"."\n";
$message.= "testing <b>BOLD</b>"."\n";
$message.= "testing <bold>BOLD</bold>"."\n";
$email = "me@localhost";
mail($email, $subject, $message, $headers);
none of this seemed to work.
Any help please?