SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
Thread: Bold E-Mail
-
Dec 22, 2000, 15:29 #1
- Join Date
- Jul 1999
- Location
- SC, USA
- Posts
- 390
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
How can I make PHP so that it bolds some text when I send an email. Is there a way to configure the email in PHP so that it recognizes HTML codes?
aDogModerator at www.javascriptcity.com/forums/
-
Dec 22, 2000, 15:44 #2
- Join Date
- Jul 1999
- Location
- SC, USA
- Posts
- 390
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I figured it out. If I just did this:
$header="Content-Type: text/html;
charset=\"iso-8859-1\"";
then, I could use:
mail($emailAddress,$subject,$body,$header);
Using that heade,r I could just use HTML code as the body.
aDogModerator at www.javascriptcity.com/forums/
Bookmarks