<?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, 19 Jul 2008 05:47:05 -0500</pubDate>
    <ttl>30</ttl>
    <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>
    <item>
      <title><![CDATA[Community News: PEAR Group Elections 2008-2009 (Nominations)]]></title>
      <guid>http://www.phpdeveloper.org/news/10126</guid>
      <link>http://www.phpdeveloper.org/news/10126</link>
      <description><![CDATA[<p>
Time has come back around for the 2008-2009 PEAR group elections and <i>David Coallier</i> has <a href="http://blog.agoraproduction.com/index.php?/archives/68-2008-2009-PEAR-Group-Elections.html">posted some details</a> about this year's elections.
</p>
<blockquote>
It is now this time of the year again where the PEAR Group throws in the PEAR Group Nominations. The nominated people will then be called for votes by the community and 7 lucky (even though luck has nothing to do with it) will be elected as the new PEAR Group member for the year 2008-2009.
</blockquote>
<p>
The entire PHP community is requested to <a href="http://news.php.net/php.pear.dev/50033">nominate who they think</a> would make the best addition to the group, regardless of how they're related to the PEAR project. Nominations should be sent to <i>Martin Jansen</i> by midnight (UTC) May 31st.
</p>]]></description>
      <pubDate>Tue, 06 May 2008 16:09:04 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PhPL33t Blog: How to Automated Plesk Email Creation]]></title>
      <guid>http://www.phpdeveloper.org/news/10033</guid>
      <link>http://www.phpdeveloper.org/news/10033</link>
      <description><![CDATA[<p>
On the PhPL33t blog, there's <a href="http://php.phpl33t.com/how-to-automated-plesk-email-creation/">a guide</a> for automating the creation of email addresses with the Plesk administration application:
</p>
<blockquote>
In 2003 I wrote "Plesk Auto Email", the first fully funtional Plesk email automation suite. Now, I am going to show you how to do it. You will need a dedicated server with Linux, Plesk 7.5 and higher, php5, mysql5, and root access. This will show you how to code the auto creation, I am not going into deletions and edits at this time because I don't have all night to blog.
</blockquote>
<p>
Included are the database table to store the commands in, the PHP script to create the commands (the integration into the other piece of software) and the PHP cron script that looks in the command table and executes each as it goes through.
</p>]]></description>
      <pubDate>Thu, 24 Apr 2008 10:25:31 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DeveloperTutorials.com: AJAX and PHP Form Processing]]></title>
      <guid>http://www.phpdeveloper.org/news/9403</guid>
      <link>http://www.phpdeveloper.org/news/9403</link>
      <description><![CDATA[<p>
The DeveloperTutorials website has a <a href="http://www.developertutorials.com/tutorials/ajax/ajax-and-php-form-processing-8-01-09/page1.html">new tutorial</a> posted today that covers their method for combining Ajax and PHP to create a custom form handler.
</p>
<blockquote>
For this project, I needed a form to send an email to the client once it's been validated and checked to be ok. [...] I decided to spice things up a bit with a little AJAX and a few effects from <a href="http://www.jeffpipas.com/2005/07/script.aculo.us">Scriptaculous</a>. So let's dive into exactly how I did it.
</blockquote>
<p>
They <a href="http://www.developertutorials.com/tutorials/ajax/ajax-and-php-form-processing-8-01-09/page1.html">create their form</a> first - a standard user info type of thing - and set it up to use the <a href="http://www.formassembly.com/">WForms</a> validation script in PHP. They include the Javascript the script needs to run the validation and to handle sending the form's contents back out via an email.
</p>]]></description>
      <pubDate>Fri, 11 Jan 2008 09:38:00 -0600</pubDate>
    </item>
  </channel>
</rss>
