Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- htmlMimeMail problem
November 2, 2007, 2:16 pm
rate this thread
using a class that sent text email. I need to send an html mail and I am
using this class (php is version 4). What I receive is a plain text email.
When I ask Outlook Express to show that email in html, it still shows as
plain text. Other email I receive I can view in html, so that is not the
problem. The problem is that html is not being sent out. The html part IS
being composed correctly, because I echoed it on the page after the send
command ant it is fine. So, can someone see what I am doing wrong here? I
will include the essentials of the code.
define('MAIL_FROM', "name <firstname.lastname@example.org");
$mail = new htmlMimeMail();
...build the text message as $message
...build the html message as $html
$sent = $mail->send(array(MAIL_TO));
...check on $sent
...echo the $html
I also tried with
I have looked on the internet for examples to see if I am missing some line
(such as to say that this is an html email). So far, nothing.