<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Send An HTML &amp; Plain Text Email Using An SMTP Server With PHP &amp; PEAR</title>
	<atom:link href="http://tonyvirelli.com/2009/04/15/php-html-email-using-smtp/feed/" rel="self" type="application/rss+xml" />
	<link>http://tonyvirelli.com/slider/php-html-email-using-smtp/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=php-html-email-using-smtp</link>
	<description>Tony Virelli - I share the information I have dealing with web design, technology, the internet and more</description>
	<lastBuildDate>Thu, 03 May 2012 10:57:26 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Aneeq</title>
		<link>http://tonyvirelli.com/slider/php-html-email-using-smtp/#comment-9623</link>
		<dc:creator>Aneeq</dc:creator>
		<pubDate>Thu, 03 May 2012 10:57:26 +0000</pubDate>
		<guid isPermaLink="false">http://tonyvirelli.com/?p=164#comment-9623</guid>
		<description>To send HTML mail in PHP, you need to use some additional headers. Below is the code to send HTML mail in PHP.

$to = “recipient@domain.com“;
$subject= “Subject of email”;
$message= “This is HTML mail.”;
$fromName = “Name of the sender”;
$fromEmail = “sender@domain.com“;

// 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”;

// Additional headers
$headers .=”From: $fromName ”.”\r\n”;

//Mail function
mail($to, $subject, $message, $headers);

Source: 
&lt;a href=&quot;http://phphelp.co/2012/05/03/how-to-send-html-mail-in-php//&quot; rel=&quot;nofollow&quot;&gt;http://http://phphelp.co/2012/05/03/how-to-send-html-mail-in-php//&lt;/a&gt;

OR 

&lt;a href=&quot;http://addr.pk/a1c4&quot; rel=&quot;nofollow&quot;&gt;http://http://addr.pk/a1c4&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>To send HTML mail in PHP, you need to use some additional headers. Below is the code to send HTML mail in PHP.</p>
<p>$to = “recipient@domain.com“;<br />
$subject= “Subject of email”;<br />
$message= “This is HTML mail.”;<br />
$fromName = “Name of the sender”;<br />
$fromEmail = “sender@domain.com“;</p>
<p>// To send HTML mail, the Content-type header must be set<br />
$headers  = “MIME-Version: 1.0? . “\r\n”;<br />
$headers .= “Content-type: text/html; charset=iso-8859-1? . “\r\n”;</p>
<p>// Additional headers<br />
$headers .=”From: $fromName ”.”\r\n”;</p>
<p>//Mail function<br />
mail($to, $subject, $message, $headers);</p>
<p>Source:<br />
<a href="http://phphelp.co/2012/05/03/how-to-send-html-mail-in-php//" rel="nofollow">http://http://phphelp.co/2012/05/03/how-to-send-html-mail-in-php//</a></p>
<p>OR </p>
<p><a href="http://addr.pk/a1c4" rel="nofollow">http://http://addr.pk/a1c4</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Garrett</title>
		<link>http://tonyvirelli.com/slider/php-html-email-using-smtp/#comment-3556</link>
		<dc:creator>Garrett</dc:creator>
		<pubDate>Wed, 26 Oct 2011 16:45:06 +0000</pubDate>
		<guid isPermaLink="false">http://tonyvirelli.com/?p=164#comment-3556</guid>
		<description>Worked like a charm.  Thanks!</description>
		<content:encoded><![CDATA[<p>Worked like a charm.  Thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

