I have written a little submit form. I have it working and everything comes into the mailbox fine. I would like to bold some things inside of the mail.Right now i have the following code:
$message = "<h3>Street: </h3> . $streetaddress . "\n" . <h3>City: </h3> . $city . "\n" . ";
4/17/2009 3:11:12 PM
you need to set the content-type headers to "Content-type:text/html;charset=iso-8859-1"[Edited on April 17, 2009 at 3:14 PM. Reason : or whatever charset you prefer ]
4/17/2009 3:14:27 PM
ah ok, thats it then.was using this:
$headers .= "Content-type: text/plain; charset=iso-8859-1\n";
4/17/2009 3:16:24 PM
yeah, text/plain is just what it says, plain textthere's also ways to send both a text and an html version together, so that people with different mail reader presets have the version they prefer available to them formatted they way you'd like them to view itif you want to go that route, look up multipart/alternative mail[Edited on April 17, 2009 at 3:20 PM. Reason : multipart/alternative is also what you use if you want to send attachments]
4/17/2009 3:19:22 PM
Bigman always beats me to it.
4/17/2009 3:50:11 PM
Bigman always beats me.
4/17/2009 5:06:12 PM
Bigman always be me.
4/17/2009 5:09:48 PM
Bigman always eats me.
4/17/2009 7:19:20 PM
4/17/2009 8:45:12 PM
4/18/2009 7:12:21 AM