<?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: PHP Send Email Using Authenticated SMTP Mail Server In Real Time</title> <atom:link href="http://www.cyberciti.biz/tips/howto-php-send-email-via-smtp-authentication.html/feed" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/tips/howto-php-send-email-via-smtp-authentication.html</link> <description>This is a Linux sys admin journal by Vivek about sys admin work, Linux tips &#38; tricks, hacks, news and more.</description> <lastBuildDate>Fri, 10 Feb 2012 20:37:43 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Alison Smythe</title><link>http://www.cyberciti.biz/tips/howto-php-send-email-via-smtp-authentication.html#comment-178665</link> <dc:creator>Alison Smythe</dc:creator> <pubDate>Mon, 16 Jan 2012 17:59:47 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-php-send-email-via-smtp-authentication.html#comment-178665</guid> <description>I am a newbie to actively playing which means this sort of advice is very useful.</description> <content:encoded><![CDATA[<p>I am a newbie to actively playing which means this sort of advice is very useful.</p> ]]></content:encoded> </item> <item><title>By: Hammad</title><link>http://www.cyberciti.biz/tips/howto-php-send-email-via-smtp-authentication.html#comment-178435</link> <dc:creator>Hammad</dc:creator> <pubDate>Thu, 12 Jan 2012 12:35:57 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-php-send-email-via-smtp-authentication.html#comment-178435</guid> <description>what code Mail.php contain ?</description> <content:encoded><![CDATA[<p>what code Mail.php contain ?</p> ]]></content:encoded> </item> <item><title>By: Astika</title><link>http://www.cyberciti.biz/tips/howto-php-send-email-via-smtp-authentication.html#comment-178303</link> <dc:creator>Astika</dc:creator> <pubDate>Tue, 10 Jan 2012 06:34:53 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-php-send-email-via-smtp-authentication.html#comment-178303</guid> <description>include(&quot;Mail.php&quot;);
what should the Mail.php file contains.</description> <content:encoded><![CDATA[<p>include(&#8220;Mail.php&#8221;);<br
/> what should the Mail.php file contains.</p> ]]></content:encoded> </item> <item><title>By: hany</title><link>http://www.cyberciti.biz/tips/howto-php-send-email-via-smtp-authentication.html#comment-175043</link> <dc:creator>hany</dc:creator> <pubDate>Fri, 21 Oct 2011 03:00:54 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-php-send-email-via-smtp-authentication.html#comment-175043</guid> <description>Thanks , it works great!</description> <content:encoded><![CDATA[<p>Thanks , it works great!</p> ]]></content:encoded> </item> <item><title>By: SkiOne</title><link>http://www.cyberciti.biz/tips/howto-php-send-email-via-smtp-authentication.html#comment-174924</link> <dc:creator>SkiOne</dc:creator> <pubDate>Mon, 17 Oct 2011 12:50:32 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-php-send-email-via-smtp-authentication.html#comment-174924</guid> <description>That error is non-fatal, you have strict standards on. If you lowered your reporting to normal the errors will go away.
Otherwise you can edit the files listed in the error and you will see on those lines object declarations with an &amp; in them. Remove the &amp; and everything will work right. I wish Pear would fix this in their library.</description> <content:encoded><![CDATA[<p>That error is non-fatal, you have strict standards on. If you lowered your reporting to normal the errors will go away.</p><p>Otherwise you can edit the files listed in the error and you will see on those lines object declarations with an &amp; in them. Remove the &amp; and everything will work right. I wish Pear would fix this in their library.</p> ]]></content:encoded> </item> <item><title>By: Abbas Uddin</title><link>http://www.cyberciti.biz/tips/howto-php-send-email-via-smtp-authentication.html#comment-174920</link> <dc:creator>Abbas Uddin</dc:creator> <pubDate>Mon, 17 Oct 2011 09:22:54 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-php-send-email-via-smtp-authentication.html#comment-174920</guid> <description>I got this message after last step of this tutorial. Would you please help?
Deprecated: Assigning the return value of new by reference is deprecated in E:\xampp\php\PEAR\Mail.php on line 154
Strict Standards: Non-static method Mail::factory() should not be called statically in E:\xampp\htdocs\email.php on line 60
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in E:\xampp\php\PEAR\Mail\smtp.php on line 365
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in E:\xampp\php\PEAR\Net\SMTP.php on line 339
Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in E:\xampp\php\PEAR\Net\SMTP.php on line 344</description> <content:encoded><![CDATA[<p>I got this message after last step of this tutorial. Would you please help?</p><p>Deprecated: Assigning the return value of new by reference is deprecated in E:\xampp\php\PEAR\Mail.php on line 154</p><p>Strict Standards: Non-static method Mail::factory() should not be called statically in E:\xampp\htdocs\email.php on line 60</p><p>Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in E:\xampp\php\PEAR\Mail\smtp.php on line 365</p><p>Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in E:\xampp\php\PEAR\Net\SMTP.php on line 339</p><p>Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in E:\xampp\php\PEAR\Net\SMTP.php on line 344</p> ]]></content:encoded> </item> <item><title>By: Crez</title><link>http://www.cyberciti.biz/tips/howto-php-send-email-via-smtp-authentication.html#comment-174766</link> <dc:creator>Crez</dc:creator> <pubDate>Tue, 11 Oct 2011 20:50:45 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-php-send-email-via-smtp-authentication.html#comment-174766</guid> <description>Make sure that when you&#039;re testing this check the php.ini file and double check that include_path has the path for the &quot;pear&quot; folder. It should read include_path .:/usr/share/php:/usr/share/pear or where ever yours might be installed. I edited the php.ini to include this file path and restarted apache2 and in my php code in did the include(&quot;Mail.php&quot;) with a Capital M and this cleared up my problem. I figured I would share my solution to help out with anyone else that might be having some issues.</description> <content:encoded><![CDATA[<p>Make sure that when you&#8217;re testing this check the php.ini file and double check that include_path has the path for the &#8220;pear&#8221; folder. It should read include_path .:/usr/share/php:/usr/share/pear or where ever yours might be installed. I edited the php.ini to include this file path and restarted apache2 and in my php code in did the include(&#8220;Mail.php&#8221;) with a Capital M and this cleared up my problem. I figured I would share my solution to help out with anyone else that might be having some issues.</p> ]]></content:encoded> </item> <item><title>By: ben</title><link>http://www.cyberciti.biz/tips/howto-php-send-email-via-smtp-authentication.html#comment-174743</link> <dc:creator>ben</dc:creator> <pubDate>Mon, 10 Oct 2011 19:34:39 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-php-send-email-via-smtp-authentication.html#comment-174743</guid> <description>fyi: an easier way is to do &quot;pear install -alldeps mail&quot; which will install all the dependencies of mail such as net_smtp.</description> <content:encoded><![CDATA[<p>fyi: an easier way is to do &#8220;pear install -alldeps mail&#8221; which will install all the dependencies of mail such as net_smtp.</p> ]]></content:encoded> </item> <item><title>By: ben</title><link>http://www.cyberciti.biz/tips/howto-php-send-email-via-smtp-authentication.html#comment-174742</link> <dc:creator>ben</dc:creator> <pubDate>Mon, 10 Oct 2011 19:33:25 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-php-send-email-via-smtp-authentication.html#comment-174742</guid> <description>Go to your command line (if linux or mac) and type &quot;pear install --alldeps mail&quot; without the quotes and you are done.
If you are on windows, check this url ... i don&#039;t know for windows http://pear.php.net/package/Mail</description> <content:encoded><![CDATA[<p>Go to your command line (if linux or mac) and type &#8220;pear install &#8211;alldeps mail&#8221; without the quotes and you are done.</p><p>If you are on windows, check this url &#8230; i don&#8217;t know for windows <a
href="http://pear.php.net/package/Mail" rel="nofollow">http://pear.php.net/package/Mail</a></p> ]]></content:encoded> </item> <item><title>By: SkiOne</title><link>http://www.cyberciti.biz/tips/howto-php-send-email-via-smtp-authentication.html#comment-174554</link> <dc:creator>SkiOne</dc:creator> <pubDate>Sat, 01 Oct 2011 22:50:37 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-php-send-email-via-smtp-authentication.html#comment-174554</guid> <description>For those of you looking for mail.php you need 2 things installed on your server:
pear
and pear Mail
pear is a package for PHP that gets installed after PHP is compiled. If pear is not installed you need to do so at the OS level. If you own your own server then look up installing pear for your OS (ubuntu is apt-get install pear) if you are on a shared server your provider will need to have that library installed for you. And if its not, then you probably won&#039;t get them to do it.
Once pear is installed on your system you can install it with this command. Pear install Net_SMTP. There might be dependencies of other things but you just can&#039;t have mail.php in your home directory and include it that way. It just doesn&#039;t work like that.
Hopefully this is helpful.</description> <content:encoded><![CDATA[<p>For those of you looking for mail.php you need 2 things installed on your server:<br
/> pear<br
/> and pear Mail</p><p>pear is a package for PHP that gets installed after PHP is compiled. If pear is not installed you need to do so at the OS level. If you own your own server then look up installing pear for your OS (ubuntu is apt-get install pear) if you are on a shared server your provider will need to have that library installed for you. And if its not, then you probably won&#8217;t get them to do it.</p><p>Once pear is installed on your system you can install it with this command. Pear install Net_SMTP. There might be dependencies of other things but you just can&#8217;t have mail.php in your home directory and include it that way. It just doesn&#8217;t work like that.</p><p>Hopefully this is helpful.</p> ]]></content:encoded> </item> <item><title>By: kim</title><link>http://www.cyberciti.biz/tips/howto-php-send-email-via-smtp-authentication.html#comment-174270</link> <dc:creator>kim</dc:creator> <pubDate>Fri, 23 Sep 2011 13:23:27 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-php-send-email-via-smtp-authentication.html#comment-174270</guid> <description>hey can you give me mail.php file directly  4 download.. i need it .</description> <content:encoded><![CDATA[<p>hey can you give me mail.php file directly  4 download.. i need it .</p> ]]></content:encoded> </item> <item><title>By: Darshan</title><link>http://www.cyberciti.biz/tips/howto-php-send-email-via-smtp-authentication.html#comment-172306</link> <dc:creator>Darshan</dc:creator> <pubDate>Wed, 06 Jul 2011 12:11:28 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-php-send-email-via-smtp-authentication.html#comment-172306</guid> <description>your codes run well ,m just want to know how would i send attachment with this mail</description> <content:encoded><![CDATA[<p>your codes run well ,m just want to know how would i send attachment with this mail</p> ]]></content:encoded> </item> <item><title>By: Rahul Malik</title><link>http://www.cyberciti.biz/tips/howto-php-send-email-via-smtp-authentication.html#comment-172270</link> <dc:creator>Rahul Malik</dc:creator> <pubDate>Mon, 04 Jul 2011 13:41:02 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-php-send-email-via-smtp-authentication.html#comment-172270</guid> <description>wen i execute this code my browser is giving me the following error
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 6144 bytes) in C:\xampp\htdocs\mailer\admin\mail.php on line 3</description> <content:encoded><![CDATA[<p>wen i execute this code my browser is giving me the following error<br
/> Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 6144 bytes) in C:\xampp\htdocs\mailer\admin\mail.php on line 3</p> ]]></content:encoded> </item> <item><title>By: Shashi</title><link>http://www.cyberciti.biz/tips/howto-php-send-email-via-smtp-authentication.html#comment-171762</link> <dc:creator>Shashi</dc:creator> <pubDate>Mon, 06 Jun 2011 08:05:41 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-php-send-email-via-smtp-authentication.html#comment-171762</guid> <description>I customised this script to fit my needs, and when i executed it, i did not get any errors, but the mail too was not sent. Dont know what was going wrong.</description> <content:encoded><![CDATA[<p>I customised this script to fit my needs, and when i executed it, i did not get any errors, but the mail too was not sent. Dont know what was going wrong.</p> ]]></content:encoded> </item> <item><title>By: Gabriel</title><link>http://www.cyberciti.biz/tips/howto-php-send-email-via-smtp-authentication.html#comment-171255</link> <dc:creator>Gabriel</dc:creator> <pubDate>Tue, 10 May 2011 19:03:58 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-php-send-email-via-smtp-authentication.html#comment-171255</guid> <description>this script works great.can you help me to change it to a bulk mailer ?</description> <content:encoded><![CDATA[<p>this script works great.can you help me to change it to a bulk mailer ?</p> ]]></content:encoded> </item> <item><title>By: Jason</title><link>http://www.cyberciti.biz/tips/howto-php-send-email-via-smtp-authentication.html#comment-168368</link> <dc:creator>Jason</dc:creator> <pubDate>Wed, 19 Jan 2011 18:41:20 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-php-send-email-via-smtp-authentication.html#comment-168368</guid> <description>Wow, people are still finding and commenting on this thread so I&#039;ll add my experience.
On RHEL I did a:
yum install php php-pear
then a:
pear install Net_SMTP
but the Mail.php that is included in the above script did not exist.
Tried to do a:
pear install Mail but was thrown:
pear/Mail requires PEAR Installer (version &gt;= 1.5.6), installed version is 1.4.9
So I just used the example script that includes Net/SMTP.php instead found here:
http://pear.php.net/manual/en/package.networking.net-smtp.intro.php
HTH
Cheers</description> <content:encoded><![CDATA[<p>Wow, people are still finding and commenting on this thread so I&#8217;ll add my experience.</p><p>On RHEL I did a:</p><p>yum install php php-pear</p><p>then a:</p><p>pear install Net_SMTP</p><p>but the Mail.php that is included in the above script did not exist.</p><p>Tried to do a:</p><p>pear install Mail but was thrown:</p><p>pear/Mail requires PEAR Installer (version &gt;= 1.5.6), installed version is 1.4.9</p><p>So I just used the example script that includes Net/SMTP.php instead found here:</p><p><a
href="http://pear.php.net/manual/en/package.networking.net-smtp.intro.php" rel="nofollow">http://pear.php.net/manual/en/package.networking.net-smtp.intro.php</a></p><p>HTH</p><p>Cheers</p> ]]></content:encoded> </item> <item><title>By: PREM KUMAR</title><link>http://www.cyberciti.biz/tips/howto-php-send-email-via-smtp-authentication.html#comment-158900</link> <dc:creator>PREM KUMAR</dc:creator> <pubDate>Sat, 14 Aug 2010 10:36:32 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-php-send-email-via-smtp-authentication.html#comment-158900</guid> <description>Its work good thanks............
Good sharing........
Thanks...........</description> <content:encoded><![CDATA[<p>Its work good thanks&#8230;&#8230;&#8230;&#8230;<br
/> Good sharing&#8230;&#8230;..<br
/> Thanks&#8230;&#8230;&#8230;..</p> ]]></content:encoded> </item> <item><title>By: Jill Barnes</title><link>http://www.cyberciti.biz/tips/howto-php-send-email-via-smtp-authentication.html#comment-156217</link> <dc:creator>Jill Barnes</dc:creator> <pubDate>Thu, 27 May 2010 03:57:50 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-php-send-email-via-smtp-authentication.html#comment-156217</guid> <description>I am new to Forms, and would like to know what steps I have to do to create a &quot;Contact Us&quot; form that when the form button &quot;Submit&quot; is clicked, it sends two emails - one to the customer confirming the information supplied, and one to the site owner with all the details.
I can create the form using Dreamweaver CS4, but after that I don&#039;t know what to do. all my coduing has been in HTML to date.
I would appreciate any ideas and sugfgestions
regards,
Jill</description> <content:encoded><![CDATA[<p>I am new to Forms, and would like to know what steps I have to do to create a &#8220;Contact Us&#8221; form that when the form button &#8220;Submit&#8221; is clicked, it sends two emails &#8211; one to the customer confirming the information supplied, and one to the site owner with all the details.</p><p>I can create the form using Dreamweaver CS4, but after that I don&#8217;t know what to do. all my coduing has been in HTML to date.</p><p>I would appreciate any ideas and sugfgestions</p><p>regards,<br
/> Jill</p> ]]></content:encoded> </item> <item><title>By: yinka web</title><link>http://www.cyberciti.biz/tips/howto-php-send-email-via-smtp-authentication.html#comment-156124</link> <dc:creator>yinka web</dc:creator> <pubDate>Fri, 21 May 2010 16:15:04 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-php-send-email-via-smtp-authentication.html#comment-156124</guid> <description>The script worked just fine for me and saved me lots of time.</description> <content:encoded><![CDATA[<p>The script worked just fine for me and saved me lots of time.</p> ]]></content:encoded> </item> <item><title>By: And1</title><link>http://www.cyberciti.biz/tips/howto-php-send-email-via-smtp-authentication.html#comment-155076</link> <dc:creator>And1</dc:creator> <pubDate>Fri, 16 Apr 2010 20:06:03 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-php-send-email-via-smtp-authentication.html#comment-155076</guid> <description>I have installed Pear Mail package but same error
Warning: require(Mail.php) [function.require]: failed to open stream: No such file or directory in /home/chemisaq/public_html/test_message.php  on line 3
Fatal error: require() [function.require]: Failed opening required &#039;Mail.php&#039; (include_path=&#039;.:/usr/lib/php:/usr/local/lib/php&#039;) in /home/chemisaq/public_html/test_message.php on line 3
I Installed it using CPanel Software Service.. PEAR PACKAGE.. anyway returns that error</description> <content:encoded><![CDATA[<p>I have installed Pear Mail package but same error</p><p>Warning: require(Mail.php) [function.require]: failed to open stream: No such file or directory in /home/chemisaq/public_html/test_message.php  on line 3</p><p>Fatal error: require() [function.require]: Failed opening required &#8216;Mail.php&#8217; (include_path=&#8217;.:/usr/lib/php:/usr/local/lib/php&#8217;) in /home/chemisaq/public_html/test_message.php on line 3</p><p>I Installed it using CPanel Software Service.. PEAR PACKAGE.. anyway returns that error</p> ]]></content:encoded> </item> </channel> </rss>
