954,604 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

html email in php

hello guys , how can i send my html email through php code , i mean i enter my html codes and then the php code sends it but in form of message not codes ,or any way ,my question is how to send an html email through php code .and also i have a question on how to create my own malling list where people can sign up to it and when i want to contact them i send only one message to all of them without entering all the emails .thanks to all of those who will reply to me .

the prince Awah
Junior Poster
162 posts since Jul 2010
Reputation Points: 5
Solved Threads: 1
 

Follow the article to send html mail from php with all options:

http://articles.sitepoint.com/article/advanced-email-php/1

rajarajan07
Nearly a Posting Virtuoso
1,447 posts since May 2008
Reputation Points: 167
Solved Threads: 239
 

// To send HTML mail, the Content-type header must be set
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
so
mail("to", "subject", "< b > strong < / b > ", $headers);

crivion
Newbie Poster
15 posts since Jul 2010
Reputation Points: 10
Solved Threads: 3
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: