Hi Alan,

You have to set the headers to send HTML emails (that could be it!)

$header  = "MIME-Version: 1.0\r\n Content-type: text/html;
charset=iso-8859-1\r\n";

$address = "[EMAIL PROTECTED]";

$subject = "HTML Email";

$content = "<html stuff>stuff</html stuff>";

mail($address, $subject, $content, $header);


"Alan McDonald" <[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED]
> 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

Reply via email to