Here is eg.
// yourform.html
<!-- your HTML form --> to subject content from
// mailto.php
<? $to = addslashes($_POST["to"]); $subject = addslashes($_POST["from"]); $content = addslashes($_POST["content"]);
mail($to, $subject, $content, $from);
?>
from Wollongong, NSW :)
Alan McDonald wrote:
Can someone tell me why I might be getting this problem? I construct an HTML email and send it,... it's fine,... it goes But the last > character after the /html tag gets truncated. I always get </html stuck on the end of my message unless I add another one. If my last construct line is $content .= "</body></html>>"; I do not see the </html on the end of the message because it has a complete tag in the message.
thanks Alan
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php