<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Sat, 30 Aug 2008 07:00:52 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[DevShed: Migrating Class Code for a MIME Email to PHP 5]]></title>
      <guid>http://www.phpdeveloper.org/news/10783</guid>
      <link>http://www.phpdeveloper.org/news/10783</link>
      <description><![CDATA[<p>
DevShed has finished off their series looking at sending MIME emails with PHP in <a href="http://www.devshed.com/c/a/PHP/Migrating-Class-Code-for-a-MIME-Email-to-PHP-5/">this new tutorial</a>, moving the current code from the previous parts up to a fully PHP5 state.
</p>
<blockquote>
While this mailer class can be used with small PHP applications, it lacks some important features related specifically to its object model, since it was built in PHP 4 from the very beginning. 
</blockquote>
<p>
They <a href="http://www.devshed.com/c/a/PHP/Migrating-Class-Code-for-a-MIME-Email-to-PHP-5/1/">review</a> the PHP4 version of the script first then move on to the process of <a href="http://www.devshed.com/c/a/PHP/Migrating-Class-Code-for-a-MIME-Email-to-PHP-5/2/">porting it</a> to a more standardized PHP5 structure and code.
</p>]]></description>
      <pubDate>Thu, 07 Aug 2008 11:16:43 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: PHP/ZendCon Trivia on twitter]]></title>
      <guid>http://www.phpdeveloper.org/news/10762</guid>
      <link>http://www.phpdeveloper.org/news/10762</link>
      <description><![CDATA[<p>
As the time for this year's <a href="http://www.zendcon.com">Zend/PHP Conference & Expo</a> grows closer, there's more and more talk about who'll be there and what will be talked about. The Zend Developer Zone is taking the opportunity to do a little looking back - and having some fun in the process. They're <a href="http://devzone.zend.com/article/3754-PHPZendCon-Trivia-on-twitter">hosting a ZendCon trivia contest</a> for some fabulous prizes.
</p>
<blockquote>
Let's have a little fun, shall we? Here is what we'll do. I'll ask ZendCon or PHP trivia via twitter (<a href="http://twitter.com/zendcon">http://twitter.com/zendcon</a>) and the first person to email me the correct answer at contest@zend.com will win a prize.
</blockquote>
<p>
Up for grabs are ZendCon <a href="http://www.flickr.com/photos/calevans/sets/72157602648775566/">trading cards</a>, books, <a href="http://www.flickr.com/groups/elephpants/">elePHPants</a> and copies of Zend Studio. Remember, you have to be following <a href="http://twitter.com/zendcon">zendcon</a> on twitter to get the questions and answers <b>must</b> be submitted via email (no DM, IM, tweets or IRC answers will count).
</p>]]></description>
      <pubDate>Tue, 05 Aug 2008 09:31:13 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Composing Messages in HTML for MIME Email with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/10720</guid>
      <link>http://www.phpdeveloper.org/news/10720</link>
      <description><![CDATA[<p>
DevShed continues its look at sending MIME emails with PHP in <a href="http://www.devshed.com/c/a/PHP/Composing-Messages-in-HTML-for-MIME-Email-with-PHP/">the fourth part</a> of the series - a method for sending HTML in the message.
</p>
<blockquote>
In this article, I'm going to show you how to provide the MIME mailer class with the ability to send email messages in HTML format. This will greatly extend its functionality, so don't miss this tutorial.
</blockquote>
<p>
They start by <a href="http://www.devshed.com/c/a/PHP/Composing-Messages-in-HTML-for-MIME-Email-with-PHP/1/">reviewing</a> the class they've created so far, including an example of its use. From there they modify it slightly to make it easy to embed the HTML content into the email by adding the addHTML and buildHTMLPart methods.
</p>]]></description>
      <pubDate>Wed, 30 Jul 2008 14:34:59 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Eran Galperin's Blog: Handling mail and mime in PHP using the Zend Framework]]></title>
      <guid>http://www.phpdeveloper.org/news/10633</guid>
      <link>http://www.phpdeveloper.org/news/10633</link>
      <description><![CDATA[<p>
On the Techfounder blog (from <i>Eran Galperin</i>) there's a <a href="http://www.techfounder.net/2008/07/18/handling-mail-and-mime-in-php-using-the-zend-framework/">quick tutorial</a> about using the Zend_Mail component of the Zend Framework to send both normal, plain-text emails and ones with MIME attachments.
</p>
<blockquote>
Using PHP's built in function (aptly named <a href="http://www.php.net/mail">mail()</a> ) is relatively straightforward - until you need slightly more advanced features, such as adding and encoding email headers or sending multiple mails efficiently. Fortunately, the Zend Framework comes with a very capable mail component called <a href="http://framework.zend.com/manual/en/zend.mail.html">Zend_Mail</a>.
</blockquote>
<p>
He <a href="http://www.techfounder.net/2008/07/18/handling-mail-and-mime-in-php-using-the-zend-framework/">shows</a> how to send a simple email, do something a bit more complex with a custom SMTP server, read messages from a remote POP3 email box and how to attach a binary file/message.
</p>]]></description>
      <pubDate>Fri, 18 Jul 2008 08:47:27 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Developer Tutorials Blog: Testing email routines in web applications]]></title>
      <guid>http://www.phpdeveloper.org/news/10625</guid>
      <link>http://www.phpdeveloper.org/news/10625</link>
      <description><![CDATA[<p>
On the Developer Tutorials blog, there's a <a href="http://www.developertutorials.com/blog/web/testing-email-routines-in-web-applications-348/">recent example</a> of how to validate a common task of many signup forms - if the email sent is actually received.
</p>
<blockquote>
For any web developer that's ever had to build a signup routine, email is the necessary evil that takes pride of place among hated activities. Sure, a simple call to the language's mail library will send a message through, but the moment the boss wants a HTML email, or users need attachments, everything starts to get tricky.
</blockquote>
<p>
They try to solve the <a href="http://www.php.net">mail</a> return issue (it tells if the message has gone to the queue, not been delivered) with a little testing and <a href="http://www.lastcraft.com/fakemail.php">Fakemail</a>. The software looks for emails based on the configuration given and pulls them out to a local directory. Your script can then look here and check the validity of the message before its sent. 
</p>
<p>
This even allows for integration with things like <a href="http://phing.info/">Phing</a>, <a href="http://simpletest.sourceforge.net/">SimpleTest</a> and <a href="http://selenium.openqa.org/">Selenium</a>.
</p>]]></description>
      <pubDate>Thu, 17 Jul 2008 08:49:16 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Handling Attachments in MIME Email with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/10620</guid>
      <link>http://www.phpdeveloper.org/news/10620</link>
      <description><![CDATA[<p>
DevShed has posted the <a href="http://www.devshed.com/c/a/PHP/Handling-Attachments-in-MIME-Email-with-PHP/">second part</a> of their series looking at handling MIME attachments in PHP generated emails today. This time they focus on the modification of their PHP4 class to make sending the emails easy.
</p>
<blockquote>
In this second tutorial of the series, I'm going to teach you how to improve the initial structure of the MIME mailer class developed in the first article by giving it the ability to work directly with attachments. Sounds fairly interesting, right? Then don't waste any more time in preliminaries and begin reading this article now!
</blockquote>
<p>
They <a href="http://www.devshed.com/c/a/PHP/Handling-Attachments-in-MIME-Email-with-PHP/1/">refresh</a> you on the code from the former tutorial and show you how to modify it to work with more than just the simple plain-text attachment like before (with binary information, things like JPEGs, PDFs and other text formats like XML and HTML).
</p>]]></description>
      <pubDate>Wed, 16 Jul 2008 12:58:17 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Sending MIME Email with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/10575</guid>
      <link>http://www.phpdeveloper.org/news/10575</link>
      <description><![CDATA[<p>
In <a href="http://www.devshed.com/c/a/PHP/Sending-MIME-Email-with-PHP/">this new tutorial</a> on DevShed <i>Alejandro Gervasio</i> explains how to send emails from PHP with MIME payloads attached.
</p>
<blockquote>
One of the most common tasks that a PHP programmer has to tackle is the development of applications that send MIME email in one form or another. In simple terms, MIME email consists of an extension of traditional email technology and comes in handy for sending email messages in fancy HTML and handling file attachments in a wide variety of formats.
</blockquote>
<p>
In this first part of the series he just lays the groundwork - creating the <a href="http://www.devshed.com/c/a/PHP/Sending-MIME-Email-with-PHP/1/">mailer class</a> they'll use for the series and using it to send a sample email (a basic message with a plain text MIME block).
</p>]]></description>
      <pubDate>Thu, 10 Jul 2008 08:49:20 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Symfony Blog: How to send emails in symfony 1.1]]></title>
      <guid>http://www.phpdeveloper.org/news/10398</guid>
      <link>http://www.phpdeveloper.org/news/10398</link>
      <description><![CDATA[<p>
On the Symfony blog, there's a <a href="http://www.symfony-project.org/blog/2008/06/10/how-to-send-emails-in-symfony-1-1">new post</a> showing the answer to a common question framework users have - what's the best way to send emails from inside our framework applications.
</p>
<blockquote>
Sending mails is a web developer's everyday task, and symfony 1.1 let you do this easier than ever using Swift Mailer. <a href="http://www.swiftmailer.org/">Swift Mailer</a> is a well thought, fully featured PHP5 object library that will cover 120% of your mailing needs.
</blockquote>
<p>
They show how to create a partial or a component in your application that generates the content for the emails and pushes that result out to the Swift Mailer application. They <a href="http://www.symfony-project.org/blog/2008/06/10/how-to-send-emails-in-symfony-1-1">show</a> the (simple) installation from a svn checkout and two examples of sending emails, one simple and another with a multipart message.
</p>]]></description>
      <pubDate>Thu, 12 Jun 2008 10:25:29 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Debuggable Blog: Make your life easier with these five CakePHP Quicktips]]></title>
      <guid>http://www.phpdeveloper.org/news/10301</guid>
      <link>http://www.phpdeveloper.org/news/10301</link>
      <description><![CDATA[<p>
<i>Tim Koschutzki</i> has <a href="http://www.debuggable.com/posts/make-your-life-easier-with-these-five-cakephp-quicktips:48170ee5-0cc0-4815-af60-7c264834cda3">five quick tips</a> for the CakePHP users out there to help make your lives just a bit easier:
</p>
<ul>
<li>The prd() convenience function
<li>How to debug your CakePHP emails?
<li>Use elements where possible and make them belong to the controller
<li>Combine your h1 titles with Cake's page title
<li>Avoid long parameter lists
</ul>
<p>
Each <a href="http://www.debuggable.com/posts/make-your-life-easier-with-these-five-cakephp-quicktips:48170ee5-0cc0-4815-af60-7c264834cda3">tip</a> comes complete with code and a brief explanation of its use.
</p>]]></description>
      <pubDate>Thu, 29 May 2008 15:23:48 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Ken Guest's Blog: Validation in Depth - a retort to using just regular expressions]]></title>
      <guid>http://www.phpdeveloper.org/news/10273</guid>
      <link>http://www.phpdeveloper.org/news/10273</link>
      <description><![CDATA[<p>
<i>Ken Guest</i>, in a response to <a href="http://www.phpguru.org/article/300">another post</a> from a different blogger, has posted some of <a href="http://blogs.linux.ie/kenguest/2008/05/26/validation-in-depth-a-retort-to-using-just-regular-expressions/">his own</a> validation replacements for the regular expression method the other blogger chose.
</p>
<blockquote>
I've noticed that <a href="http://www.phpguru.org/">Richard Heyes</a>, who professes himself to be a php guru, deleted my comment on <a href="http://www.phpguru.org/article/300">his "Some common regular expressions" posting</a> which simply pointed out his expressions didn't quite do the job and suggested a few <A href="http://pear.php.net/">PEAR packages</a> that should be used instead of the expressions that he proffered
</blockquote>
<p>
His examples have the benefit of what he calls "defense in depth" - the functionality to catch a bit more than just a regular expression can alone. His examples include <a href="http://pear.php.net/package/Validate">PEAR_Validate</a> for email addresses, <a href="http://pear.php.net/package/Net_CheckIP2">Net_CheckIP2</a> for IP addresses and the <a href="http://pear.php.net/package/Validate_UK/">Validate_UK</a> package for the sort code and telephone numbers.
</p>]]></description>
      <pubDate>Tue, 27 May 2008 07:58:54 -0500</pubDate>
    </item>
  </channel>
</rss>
