<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-992226187759619576.post1455935953692108011..comments</id><updated>2012-02-09T10:36:04.426+05:30</updated><category term='flash'/><category term='openid'/><category term='Notification'/><category term='Youtube'/><category term='SQL'/><category term='icons'/><category term='Encoding'/><category term='Connection'/><category term='Game'/><category term='Image'/><category term='plug-in'/><category term='Scrolling'/><category term='Delete'/><category term='Windows'/><category term='Advertising'/><category term='Form'/><category term='Web'/><category term='Photoshop'/><category term='Testing'/><category term='base64'/><category term='t-shirt'/><category term='RSS'/><category term='Drag'/><category term='Graphics'/><category term='Nikon'/><category term='Projects'/><category term='List'/><category term='Marketing'/><category term='Flex'/><category term='eclipse'/><category term='Ideas'/><category term='Pagination'/><category term='google plus'/><category term='EC2'/><category term='News'/><category term='Painting'/><category term='Adobe'/><category term='9lessons'/><category term='checkbox'/><category term='jQuery'/><category term='CSS'/><category term='Rails'/><category term='URL'/><category term='Gmail'/><category term='Buttons'/><category term='Design'/><category term='XML'/><category term='Awesome Developer'/><category term='Inspiration'/><category term='SDK'/><category term='Twitter API'/><category term='Smarty'/><category term='Labs'/><category term='Table'/><category term='HTML'/><category term='OOP'/><category term='Payment'/><category term='Drawings'/><category term='Hacking'/><category term='Architecuture'/><category term='Free'/><category term='Upload'/><category term='Jsp'/><category term='google'/><category term='Geo'/><category term='Twitter'/><category term='javascript'/><category term='Email'/><category term='OAuth'/><category term='Technology'/><category term='Iphone'/><category term='Captcha'/><category term='Regular_Expressions'/><category term='Mysql'/><category term='Photos'/><category term='Wallpaper'/><category term='Logos'/><category term='Ajax'/><category term='Tutorials'/><category term='Programming'/><category term='Compute'/><category term='Fanpage'/><category term='Videos'/><category term='Drop'/><category term='Clone'/><category term='SMTP'/><category term='Hosting'/><category term='Blackberry'/><category term='Resources'/><category term='Chrome'/><category term='Language'/><category term='amazon'/><category term='Function'/><category term='Framework'/><category term='Scripts'/><category term='Smartphone'/><category term='Curl'/><category term='JSON'/><category term='Websites'/><category term='Facebook'/><category term='Yahoo'/><category term='Concepts'/><category term='Application'/><category term='MooTools'/><category term='Realistic'/><category term='Cloud'/><category term='HTML5'/><category term='Mail'/><category term='Mobile'/><category term='Reports'/><category term='php'/><category term='Spread Sheet'/><category term='Cropping'/><category term='Extension'/><category term='Wall'/><category term='WebDesign'/><category term='Popular'/><category term='Search'/><category term='Java'/><category term='Air'/><category term='API'/><category term='jQueryBasics'/><category term='Edit'/><category term='Extention'/><category term='Bing'/><category term='Browser'/><category term='blogger'/><category term='SEO'/><category term='Ruby'/><category term='CSS3'/><category term='Database'/><category term='Validation'/><category term='C prorgramming'/><category term='Object-oriented'/><category term='Update'/><category term='Foreign'/><category term='htaccess'/><category term='Paypal'/><category term='Rewriting'/><category term='TED'/><category term='Bug Tracking'/><category term='profile'/><category term='Login'/><title type='text'>Comments on 9lessons Programming Blog: Send Mail using SMTP and PHP.</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.9lessons.info/feeds/1455935953692108011/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default?start-index=26&amp;max-results=25'/><author><name>Srinivas Tamada</name><uri>http://www.blogger.com/profile/17418084732618477326</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-7w94UgQpyNg/ThansTGlhtI/AAAAAAAAEs4/hVW2tEEVihw/s1600/avatar.php%253Fgravatar_id%253D7a9e87053519e0e7a21bb69d1deb6dfe'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>42</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-7346059988420533997</id><published>2012-02-08T16:24:42.292+05:30</published><updated>2012-02-08T16:24:42.292+05:30</updated><title type='text'>the line 

$talk[&amp;quot;hello&amp;quot;] = fgets ( $SMT...</title><content type='html'>the line &lt;br /&gt;&lt;br /&gt;$talk[&amp;quot;hello&amp;quot;] = fgets ( $SMTPIN, 1024 ); &lt;br /&gt;&lt;br /&gt;Would be better as&lt;br /&gt;&lt;br /&gt;$talk[&amp;quot;hello&amp;quot;] = stream_get_line( $SMTPIN, 1024 );&lt;br /&gt;&lt;br /&gt;as the server can return a multi line greeting which can still be returned in many of the following fget commands rather than getting what you would expect.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/7346059988420533997'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/7346059988420533997'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html?showComment=1328698482292#c7346059988420533997' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-1455935953692108011' source='http://www.blogger.com/feeds/992226187759619576/posts/default/1455935953692108011' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1002467955'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-2671210192388048455</id><published>2011-12-26T06:51:09.831+05:30</published><updated>2011-12-26T06:51:09.831+05:30</updated><title type='text'>Thanks a lot. You are the man!</title><content type='html'>Thanks a lot. You are the man!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/2671210192388048455'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/2671210192388048455'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html?showComment=1324862469831#c2671210192388048455' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-1455935953692108011' source='http://www.blogger.com/feeds/992226187759619576/posts/default/1455935953692108011' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1808184031'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-9026289909180054070</id><published>2011-12-08T22:39:20.655+05:30</published><updated>2011-12-08T22:39:20.655+05:30</updated><title type='text'>The Bcc or Cc seem to work however the received em...</title><content type='html'>The Bcc or Cc seem to work however the received email also shows who the Bcc/Cc is.  For Bcc this is a problem b/c it&amp;#39;s not BLIND.  The following is what my hosting company said about this:&lt;br /&gt;&lt;br /&gt;&amp;quot;It looks as your script is adding the BCC header of the message. at the wrong place. We would recommend that you check the configuration of the script that you are using to send the message. &amp;quot;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/9026289909180054070'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/9026289909180054070'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html?showComment=1323364160655#c9026289909180054070' title=''/><author><name>5e02b01c-21bf-11e1-ab39-000bcdca4d7a</name><uri>https://openid.aol.com/opaque/5e02b01c-21bf-11e1-ab39-000bcdca4d7a</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/openid16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-1455935953692108011' source='http://www.blogger.com/feeds/992226187759619576/posts/default/1455935953692108011' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1354508725'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-1595881416170383044</id><published>2011-12-06T00:40:44.849+05:30</published><updated>2011-12-06T00:40:44.849+05:30</updated><title type='text'>regarding the SMTPconfig.php... ca we put mail.dom...</title><content type='html'>regarding the SMTPconfig.php... ca we put mail.domain.com at $SmtpServer? something like this:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;any help?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/1595881416170383044'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/1595881416170383044'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html?showComment=1323112244849#c1595881416170383044' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-1455935953692108011' source='http://www.blogger.com/feeds/992226187759619576/posts/default/1455935953692108011' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-516291651'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-2214935757517656038</id><published>2011-11-25T10:16:36.616+05:30</published><updated>2011-11-25T10:16:36.616+05:30</updated><title type='text'>to solve problem of &amp;quot;Undefined variable: HTTP...</title><content type='html'>to solve problem of &amp;quot;Undefined variable: HTTP_HOST&amp;quot; &lt;br /&gt;replace it with &amp;quot;getenv(&amp;#39;MyHost&amp;#39;)&amp;quot;, it worked well with me...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;and i am reallly grateful for this post..thank you soooo much (^_^)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/2214935757517656038'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/2214935757517656038'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html?showComment=1322196396616#c2214935757517656038' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-1455935953692108011' source='http://www.blogger.com/feeds/992226187759619576/posts/default/1455935953692108011' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1898310412'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-4928405489345376121</id><published>2011-11-14T05:02:10.583+05:30</published><updated>2011-11-14T05:02:10.583+05:30</updated><title type='text'>nice script. but can u plz help me out on the atta...</title><content type='html'>nice script. but can u plz help me out on the attachment issue?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/4928405489345376121'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/4928405489345376121'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html?showComment=1321227130583#c4928405489345376121' title=''/><author><name>Nafees Mansoor</name><uri>http://www.nafees.info</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-1455935953692108011' source='http://www.blogger.com/feeds/992226187759619576/posts/default/1455935953692108011' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1484674536'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-8197785179749740369</id><published>2011-11-10T09:16:18.836+05:30</published><updated>2011-11-10T09:16:18.836+05:30</updated><title type='text'>I have tried this and its working properly. Is it ...</title><content type='html'>I have tried this and its working properly. Is it possible to add attachment when sending an email using smtp? Thanks. :)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/8197785179749740369'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/8197785179749740369'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html?showComment=1320896778836#c8197785179749740369' title=''/><author><name>YISHIyish</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-1455935953692108011' source='http://www.blogger.com/feeds/992226187759619576/posts/default/1455935953692108011' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-931566973'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-4423468751962214221</id><published>2011-10-28T21:11:22.876+05:30</published><updated>2011-10-28T21:11:22.876+05:30</updated><title type='text'>Nice job, 

this code worked beautifully for me to...</title><content type='html'>Nice job, &lt;br /&gt;&lt;br /&gt;this code worked beautifully for me to connect to godaddys smtp</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/4423468751962214221'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/4423468751962214221'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html?showComment=1319816482876#c4423468751962214221' title=''/><author><name>Steven</name><uri>http://www.stevenrecords.com</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-1455935953692108011' source='http://www.blogger.com/feeds/992226187759619576/posts/default/1455935953692108011' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-689862487'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-8240995099897375099</id><published>2011-10-19T19:53:44.082+05:30</published><updated>2011-10-19T19:53:44.082+05:30</updated><title type='text'>Thank you

it is excellent .

But how to set serve...</title><content type='html'>Thank you&lt;br /&gt;&lt;br /&gt;it is excellent .&lt;br /&gt;&lt;br /&gt;But how to set server inside config file to send Email to yahoo ?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/8240995099897375099'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/8240995099897375099'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html?showComment=1319034224082#c8240995099897375099' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-1455935953692108011' source='http://www.blogger.com/feeds/992226187759619576/posts/default/1455935953692108011' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-289658245'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-6223459055362898779</id><published>2011-10-15T21:41:50.427+05:30</published><updated>2011-10-15T21:41:50.427+05:30</updated><title type='text'>Hi,

All..It is best code which help me very bad t...</title><content type='html'>Hi,&lt;br /&gt;&lt;br /&gt;All..It is best code which help me very bad time...Thanks you all guys..and for your valuable posting..&lt;br /&gt;&lt;br /&gt;I have seen one post is no pending for help..&lt;br /&gt;&lt;br /&gt;Undefined variable: HTTP_HOST in C:\wamp\www\smtp\SMTPclass.php&lt;br /&gt;&lt;br /&gt;Who are waiting for the above error code help..&lt;br /&gt;plz see the bellow &lt;br /&gt;&lt;br /&gt;----------&lt;br /&gt;Please replace the &amp;quot;$HTTP_HOST&amp;quot; to &amp;quot;$this-&amp;gt;SmtpServer&amp;quot;.&lt;br /&gt;&lt;br /&gt;Then enjoy the fun with you..&lt;br /&gt;&lt;br /&gt;judhisthira sahoo&lt;br /&gt;India</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/6223459055362898779'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/6223459055362898779'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html?showComment=1318695110427#c6223459055362898779' title=''/><author><name>Judhisthria Sahoo</name><uri>http://www.gmail.com</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-1455935953692108011' source='http://www.blogger.com/feeds/992226187759619576/posts/default/1455935953692108011' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-259408780'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-657308298484183251</id><published>2011-10-09T16:07:39.269+05:30</published><updated>2011-10-09T16:07:39.269+05:30</updated><title type='text'>thnx for this class ,
but how can i get a confirma...</title><content type='html'>thnx for this class ,&lt;br /&gt;but how can i get a confirmation message&lt;br /&gt;if mail fails to b delivered then how can i get to know about that ??</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/657308298484183251'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/657308298484183251'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html?showComment=1318156659269#c657308298484183251' title=''/><author><name>chansi</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-1455935953692108011' source='http://www.blogger.com/feeds/992226187759619576/posts/default/1455935953692108011' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-788152044'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-2149267291342023834</id><published>2011-09-10T19:05:44.329+05:30</published><updated>2011-09-10T19:05:44.329+05:30</updated><title type='text'>heh.. I had this working last weekend.. I think my...</title><content type='html'>heh.. I had this working last weekend.. I think my CPanel server either upgraded exim or something because this script is now sending out emails but when it hits the exim server im getting errors:&lt;br /&gt;2011-09-10 08:17:13 H=area (localhost) [127.0.0.1] rejected MAIL notifications@email.tld: Authentication failed&lt;br /&gt;&lt;br /&gt;Thoughts on that? I know its not the php issue, or is it? Running 5.3.8 of PHP</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/2149267291342023834'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/2149267291342023834'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html?showComment=1315661744329#c2149267291342023834' title=''/><author><name>Brad</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-1455935953692108011' source='http://www.blogger.com/feeds/992226187759619576/posts/default/1455935953692108011' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-314744559'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-5798460095912602587</id><published>2011-09-10T06:25:39.894+05:30</published><updated>2011-09-10T06:25:39.894+05:30</updated><title type='text'>Does this have any special server-end requirements...</title><content type='html'>Does this have any special server-end requirements to run? My host (DreamHost) is saying that SMTP like this requires PEAR and the fact that I can&amp;#39;t get it to work seems to back that up. Not getting any errors like some users above, just no emails coming thru. Any thoughts?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/5798460095912602587'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/5798460095912602587'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html?showComment=1315616139894#c5798460095912602587' title=''/><author><name>Zoinks! Graphics</name><uri>http://www.zoinksgraphics.com</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-1455935953692108011' source='http://www.blogger.com/feeds/992226187759619576/posts/default/1455935953692108011' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-9467228'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-2149311414727371705</id><published>2011-08-28T13:40:06.148+05:30</published><updated>2011-08-28T13:40:06.148+05:30</updated><title type='text'>I am getting this error please help me to solve


...</title><content type='html'>I am getting this error please help me to solve&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Undefined variable: HTTP_HOST in C:\wamp\www\smtp\SMTPclass.php on line 39</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/2149311414727371705'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/2149311414727371705'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html?showComment=1314519006148#c2149311414727371705' title=''/><author><name>ali</name><uri>http://www.blogger.com/profile/01039524740745569524</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-1455935953692108011' source='http://www.blogger.com/feeds/992226187759619576/posts/default/1455935953692108011' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1942737795'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-5160891347887775796</id><published>2011-08-13T07:16:27.029+05:30</published><updated>2011-08-13T07:16:27.029+05:30</updated><title type='text'>Mails are going to Spam box. can you help me resol...</title><content type='html'>Mails are going to Spam box. can you help me resolve it.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/5160891347887775796'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/5160891347887775796'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html?showComment=1313199987029#c5160891347887775796' title=''/><author><name>Actual Soft Solutions</name><uri>http://www.blogger.com/profile/01856987834305110396</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-1455935953692108011' source='http://www.blogger.com/feeds/992226187759619576/posts/default/1455935953692108011' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1278342753'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-2045448853629020594</id><published>2011-08-10T18:58:08.036+05:30</published><updated>2011-08-10T18:58:08.036+05:30</updated><title type='text'>Anyone know a way to make this code work with Gmai...</title><content type='html'>Anyone know a way to make this code work with Gmail?  Dont you just need to allow SSL somehow and use port 465 or 587?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/2045448853629020594'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/2045448853629020594'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html?showComment=1312982888036#c2045448853629020594' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-1455935953692108011' source='http://www.blogger.com/feeds/992226187759619576/posts/default/1455935953692108011' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-28119460'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-4889408295696395375</id><published>2011-07-24T00:27:35.682+05:30</published><updated>2011-07-24T00:27:35.682+05:30</updated><title type='text'>Thanks Srinivas for this nice post. I reformatted ...</title><content type='html'>Thanks Srinivas for this nice post. I reformatted your SMTPClient class and added a header variable so one has the option to send HTML emails.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SmtpServer = $SmtpServer;&lt;br /&gt;  $this-&amp;gt;SmtpUser = base64_encode ($SmtpUser);&lt;br /&gt;  $this-&amp;gt;SmtpPass = base64_encode ($SmtpPass);&lt;br /&gt;  $this-&amp;gt;from = $from;&lt;br /&gt;  $this-&amp;gt;to = $to;&lt;br /&gt;  $this-&amp;gt;subject = $subject;&lt;br /&gt;  $this-&amp;gt;body = $body;&lt;br /&gt;  $this-&amp;gt;newLine = &amp;quot;\r\n&amp;quot;;&lt;br /&gt;  &lt;br /&gt;  if ($SmtpPort == &amp;quot;&amp;quot;) {&lt;br /&gt;   $this-&amp;gt;PortSMTP = 25;&lt;br /&gt;  } else {&lt;br /&gt;   $this-&amp;gt;PortSMTP = $SmtpPort;&lt;br /&gt;  }&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; function SendMail (){&lt;br /&gt;  if ($SMTPIN = fsockopen ($this-&amp;gt;SmtpServer, $this-&amp;gt;PortSMTP)) {&lt;br /&gt;   fputs ($SMTPIN, &amp;quot;EHLO &amp;quot;.$HTTP_HOST.&amp;quot;\r\n&amp;quot;); &lt;br /&gt;   $talk[&amp;quot;hello&amp;quot;] = fgets ( $SMTPIN, 1024 ); &lt;br /&gt;   &lt;br /&gt;   fputs($SMTPIN, &amp;quot;auth login\r\n&amp;quot;);&lt;br /&gt;   $talk[&amp;quot;res&amp;quot;]=fgets($SMTPIN,1024);&lt;br /&gt;   &lt;br /&gt;   fputs($SMTPIN, $this-&amp;gt;SmtpUser.&amp;quot;\r\n&amp;quot;);&lt;br /&gt;   $talk[&amp;quot;user&amp;quot;]=fgets($SMTPIN,1024);&lt;br /&gt;   &lt;br /&gt;   fputs($SMTPIN, $this-&amp;gt;SmtpPass.&amp;quot;\r\n&amp;quot;);&lt;br /&gt;   $talk[&amp;quot;pass&amp;quot;]=fgets($SMTPIN,256);&lt;br /&gt;   &lt;br /&gt;   fputs ($SMTPIN, &amp;quot;MAIL FROM: &amp;lt;&amp;quot;.$this-&amp;gt;from.&amp;quot;&amp;gt;\r\n&amp;quot;); &lt;br /&gt;   $talk[&amp;quot;From&amp;quot;] = fgets ( $SMTPIN, 1024 ); &lt;br /&gt;   &lt;br /&gt;   fputs ($SMTPIN, &amp;quot;RCPT TO: &amp;lt;&amp;quot;.$this-&amp;gt;to.&amp;quot;&amp;gt;\r\n&amp;quot;); &lt;br /&gt;   $talk[&amp;quot;To&amp;quot;] = fgets ($SMTPIN, 1024); &lt;br /&gt;   &lt;br /&gt;   fputs ($SMTPIN, &amp;quot;RCPT TO: \r\n&amp;quot;); &lt;br /&gt;   $talk[&amp;quot;Bcc&amp;quot;] = fgets ($SMTPIN, 1024); &lt;br /&gt;   &lt;br /&gt;   fputs($SMTPIN, &amp;quot;DATA\r\n&amp;quot;);&lt;br /&gt;   $talk[&amp;quot;data&amp;quot;]=fgets( $SMTPIN,1024 );&lt;br /&gt;   &lt;br /&gt;   //Construct Headers&lt;br /&gt;   $headers = &amp;quot;MIME-Version: 1.0&amp;quot; . $this-&amp;gt;newLine;&lt;br /&gt;   $headers .= &amp;quot;Content-type: text/html; charset=iso-8859-1&amp;quot; . $this-&amp;gt;newLine;&lt;br /&gt;   $headers .= &amp;quot;From: &amp;lt;&amp;quot;.$this-&amp;gt;from.&amp;quot;&amp;gt;&amp;quot;. $this-&amp;gt;newLine;&lt;br /&gt;   $headers .= &amp;quot;To: &amp;lt;&amp;quot;.$this-&amp;gt;to.&amp;quot;&amp;gt;&amp;quot;. $this-&amp;gt;newLine;&lt;br /&gt;   $headers .= &amp;quot;Bcc: newLine;&lt;br /&gt;   $headers .= &amp;quot;Subject: &amp;quot;.$this-&amp;gt;subject. $this-&amp;gt;newLine;&lt;br /&gt;&lt;br /&gt;   fputs($SMTPIN, $headers.&amp;quot;\r\n\r\n&amp;quot;.$this-&amp;gt;body.&amp;quot;\r\n.\r\n&amp;quot;);&lt;br /&gt;&lt;br /&gt;   $talk[&amp;quot;send&amp;quot;]=fgets($SMTPIN,256);&lt;br /&gt;   //CLOSE CONNECTION AND EXIT ... &lt;br /&gt;   fputs ($SMTPIN, &amp;quot;QUIT\r\n&amp;quot;); &lt;br /&gt;   fclose($SMTPIN); &lt;br /&gt;   // &lt;br /&gt;  } &lt;br /&gt;  return $talk;&lt;br /&gt; } &lt;br /&gt;}&lt;br /&gt;?&amp;gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/4889408295696395375'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/4889408295696395375'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html?showComment=1311447455682#c4889408295696395375' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-1455935953692108011' source='http://www.blogger.com/feeds/992226187759619576/posts/default/1455935953692108011' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1612042259'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-5800923637956162965</id><published>2011-07-22T07:46:38.836+05:30</published><updated>2011-07-22T07:46:38.836+05:30</updated><title type='text'>Reza Said: 
how can I send email to more than one ...</title><content type='html'>Reza Said: &lt;br /&gt;how can I send email to more than one person on one textbox ?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/5800923637956162965'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/5800923637956162965'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html?showComment=1311300998836#c5800923637956162965' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-1455935953692108011' source='http://www.blogger.com/feeds/992226187759619576/posts/default/1455935953692108011' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1129655111'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-1084389294968536925</id><published>2011-07-02T16:11:21.260+05:30</published><updated>2011-07-02T16:11:21.260+05:30</updated><title type='text'>Nice post..

You can set header by this:

fputs($S...</title><content type='html'>Nice post..&lt;br /&gt;&lt;br /&gt;You can set header by this:&lt;br /&gt;&lt;br /&gt;fputs($SMTPIN, &amp;quot;To: &amp;lt;&amp;quot;.$this-&amp;gt;to.&amp;quot;&amp;gt;\r\nFrom: &amp;lt;&amp;quot;.$this-&amp;gt;from.&amp;quot;&amp;gt;\r\nSubject:&amp;quot;.$this-&amp;gt;subject.&amp;quot;\r\n&amp;quot;.$this-&amp;gt;headers.&amp;quot;\r\n\r\n&amp;quot;.$this-&amp;gt;body.&amp;quot;\r\n.\r\n&amp;quot;);&lt;br /&gt;&lt;br /&gt;And pass the header in constructor as an argument and than set that like:&lt;br /&gt;$this-&amp;gt;headers = $headers;&lt;br /&gt;&lt;br /&gt;And that&amp;#39;s all !!!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/1084389294968536925'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/1084389294968536925'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html?showComment=1309603281260#c1084389294968536925' title=''/><author><name>Smit Shah</name><uri>http://smit-shah.in</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-1455935953692108011' source='http://www.blogger.com/feeds/992226187759619576/posts/default/1455935953692108011' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1298597717'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-2105275096459247250</id><published>2011-07-01T14:02:18.507+05:30</published><updated>2011-07-01T14:02:18.507+05:30</updated><title type='text'>i copied the three php programs and wen i try to r...</title><content type='html'>i copied the three php programs and wen i try to run the index.php file it in d wamp server,&lt;br /&gt;its gives d following error:&lt;br /&gt;Warning: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: No such host is known. in C:\wamp\www\SMTPclass.php on line 31&lt;br /&gt;&lt;br /&gt;Warning: fsockopen() [function.fsockopen]: unable to connect to 192.168.1.3 :25 (php_network_getaddresses: getaddrinfo failed: No such host is known. ) in C:\wamp\www\SMTPclass.php on line 31&lt;br /&gt;&lt;br /&gt;//i hav no clue wts wrong....m a newbie....i hav been tryn dis for a while but widout success....</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/2105275096459247250'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/2105275096459247250'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html?showComment=1309509138507#c2105275096459247250' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-1455935953692108011' source='http://www.blogger.com/feeds/992226187759619576/posts/default/1455935953692108011' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1078697874'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-2162515695813008136</id><published>2011-07-01T13:59:07.466+05:30</published><updated>2011-07-01T13:59:07.466+05:30</updated><title type='text'>Warning: fsockopen() [function.fsockopen]: php_net...</title><content type='html'>Warning: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: No such host is known. in C:\wamp\www\SMTPclass.php on line 31&lt;br /&gt;&lt;br /&gt;Warning: fsockopen() [function.fsockopen]: unable to connect to 192.168.1.3 :25 (php_network_getaddresses: getaddrinfo failed: No such host is known. ) in C:\wamp\www\SMTPclass.php on line 31</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/2162515695813008136'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/2162515695813008136'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html?showComment=1309508947466#c2162515695813008136' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-1455935953692108011' source='http://www.blogger.com/feeds/992226187759619576/posts/default/1455935953692108011' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1078697874'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-8891427509724956741</id><published>2011-06-28T14:02:20.891+05:30</published><updated>2011-06-28T14:02:20.891+05:30</updated><title type='text'>Notice: Undefined variable: HTTP_HOST in .../SMTPc...</title><content type='html'>Notice: Undefined variable: HTTP_HOST in .../SMTPclass.php on line 30</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/8891427509724956741'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/8891427509724956741'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html?showComment=1309249940891#c8891427509724956741' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-1455935953692108011' source='http://www.blogger.com/feeds/992226187759619576/posts/default/1455935953692108011' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1429772805'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-479195087102052125</id><published>2011-06-03T20:41:47.486+05:30</published><updated>2011-06-03T20:41:47.486+05:30</updated><title type='text'>Thanks so much.</title><content type='html'>Thanks so much.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/479195087102052125'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/479195087102052125'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html?showComment=1307113907486#c479195087102052125' title=''/><author><name>คอนโด</name><uri>http://www.propt69.com/property/announcement/Condo</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-1455935953692108011' source='http://www.blogger.com/feeds/992226187759619576/posts/default/1455935953692108011' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-712878064'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-4039809823254651198</id><published>2011-05-26T14:47:55.972+05:30</published><updated>2011-05-26T14:47:55.972+05:30</updated><title type='text'>please help me to include headers
Ex: $headers = &amp;...</title><content type='html'>please help me to include headers&lt;br /&gt;Ex: $headers = &amp;quot;Content-Transfer-Encoding: 8bit\r\n&amp;quot;;&lt;br /&gt;$headers .= &amp;#39;Content-Type: text/html; charset=&amp;quot;iso-8859-1&amp;quot;&amp;#39;.&amp;quot;\r\n&amp;quot;;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/4039809823254651198'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/4039809823254651198'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html?showComment=1306401475972#c4039809823254651198' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-1455935953692108011' source='http://www.blogger.com/feeds/992226187759619576/posts/default/1455935953692108011' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-695207562'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-9088158684423506599</id><published>2011-05-18T16:39:02.627+05:30</published><updated>2011-05-18T16:39:02.627+05:30</updated><title type='text'>Warning: fsockopen() [function.fsockopen]: unable ...</title><content type='html'>Warning: fsockopen() [function.fsockopen]: unable to connect to smtp.gmail.com:25 (A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. ) in D:\xampp\htdocs\NetBill Manager\admin\SMTPClass.php on line 28&lt;br /&gt;&lt;br /&gt;Fatal error: Maximum execution time of 60 seconds exceeded in D:\xampp\htdocs\NetBill Manager\admin\SMTPClass.php on line 28</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/9088158684423506599'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/1455935953692108011/comments/default/9088158684423506599'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html?showComment=1305716942627#c9088158684423506599' title=''/><author><name>Md. Ziaul</name><uri>http://www.blogger.com/profile/14821652088840307720</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-1455935953692108011' source='http://www.blogger.com/feeds/992226187759619576/posts/default/1455935953692108011' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1760575233'/></entry></feed>
