Explanation marks in mail sent w/ php
| From: | eric | Date: | Wed, 22 Nov 2000 21:53:37 +0000 |
| Subject: | Explanation marks in mail sent w/ php | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-26732@lists.php.net to get a copy of this message | ||
hello,
I'm using the following scheme to create html mails. The messages are
sent mime multipart mixed, and everything seems to be working. However,
lines are randomly cut within the mail html message body and
explaination marks !!! are inserted. This disrupts the html tags, and
the html mail doesn't format right. I'm sending an example to the list
with the same subject as this message now. any help appreciated.
i know there are php classes to do these things, but would prefer to fix
this.
$fcontents_html=join('',file("http://photo.mediachex.com/s_main/msg_content/header.html"));
$fcontents_html.=join('',file("http://photo.mediachex..com/s_main/msg_content/body.html"));
$fcontents_html.=join('',file("http://photo.mediachex.com/s_main/msg_content/footer.html"));
mail($to, $subject, $fcontents_html, $header);
many thx.