PDA

View Full Version : php - email problem - please help! I think it's a simple question



jOkEr
May 20th, 2004, 03:20 PM
I am very new at this, but I am just trying to set up a basic newsletter for one of my clients. When they sign up for the newsletter, they are auto-sent an email asking them to verify. In hotmail it works fine, but in outlook it won't. It shows the html code with the tags and everything, not the verify button like it does in hotmail. In hotmail it works perfect. Here is the code I am using:
<html><head>

<title>Whistle Bear Newsletter</title>

</head>

<body>

<p>Thank you for recently subscribing to our free newsletter, please verify this email as the correct email by clicking on the following button. </p>

<table>

<tr>

<td><form method=post action=http://www.whistlebear.ca/verifyme.php>

<input type=text name=email value=cyberrep@cyberwebs.org>

<input type=submit value=Verify My Email></form></td>

</tr>

</table>

</body>

</html>

any ideas??

Hans Kilian
May 20th, 2004, 04:27 PM
You probably need to set the MIME type of the message to text/html. If you don't, Outlook thinks it's text/plain.

jOkEr
May 20th, 2004, 07:46 PM
yeah, no I did that.

any other ideas?

Hans Kilian
May 21st, 2004, 02:11 AM
There could be tons of reasons...

One thing I would try is making the HTML standards compliant. Use http://validator.w3.org to straighten it out.

If that doesn't help, then post the PHP or ASP you use to send out the newsletter.