<?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>Fri, 21 Nov 2008 06:33:19 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[DevShed: Sending Email with PHP Networking]]></title>
      <guid>http://www.phpdeveloper.org/news/11028</guid>
      <link>http://www.phpdeveloper.org/news/11028</link>
      <description><![CDATA[<p>
DevShed has the <A href="http://www.devshed.com/c/a/PHP/Sending-Email-with-PHP-Networking/">second of a two part tutorial</a> posted today on sending emails with the included mail() function.
</p>
<blockquote>
In this article we will look at the protocol that is involved in sending email messages. We will also examine the thorny issue of how to send an attachment with an email message. This article is the second of two parts.
</blockquote>
<p>
They include examples of sending simple messages and more complex ones with things like attachments and custom headers. They also tack on a look at the PEAR::Mail package to the end showing how it can make sending some things a little less painful.
</p>]]></description>
      <pubDate>Tue, 16 Sep 2008 11:21:23 -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[Paul Jones' Blog: Sending Mail with Solar]]></title>
      <guid>http://www.phpdeveloper.org/news/8278</guid>
      <link>http://www.phpdeveloper.org/news/8278</link>
      <description><![CDATA[<p>
<i>Paul Jones</i> has <a href="http://paul-m-jones.com/blog/?p=253">posted a new tutorial</a> about using the mail functionality of the <a href="http://www.solarphp.com">Solar framework</a> - the <a href="http://solarphp.com/package/Solar_Mail">Solar_Mail</a> and <a href="http://solarphp.com/package/Solar_Smtp">Solar_Stmp</a> packages.
</p>
<blockquote>
While each of these [PEAR Mail, PhpMailer, SwiftMailer, Zend_Mail] will work with <a href="http://solarphp.com/">Solar</a>, the new <a href="http://solarphp.com/package/Solar_Mail">Solar_Mail</a> and <a href="http://solarphp.com/package/Solar_Smtp">Solar_Smtp</a> packages work "natively", in that they support automatic configuration, locale and exception inheritance, and so on. Read on for some examples on how to use them.
</blockquote>
<p>
In <a href="http://paul-m-jones.com/blog/?p=253">his example</a> he sets up and sends a simple message, setting the contents of the email (sent as an HTML message). Since there's been much talk about the safety of a lot of the mailing systems in frameworks, <i>Paul</i> talks about how it's been secured from header injections, through safe attachments, and from a transport dependency-injection for SMTP. 
</p>
<p>
There's even a method included that lets you take the SMTP information out of the script and put it into the Solar configuration file to use in the entire application.
</p>]]></description>
      <pubDate>Wed, 18 Jul 2007 13:48:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[WebCheatSheet.com: Two New Tutorials - Database Export & Sending Email]]></title>
      <guid>http://www.phpdeveloper.org/news/7252</guid>
      <link>http://www.phpdeveloper.org/news/7252</link>
      <description><![CDATA[<p>
<a href="http://www.webcheatsheet.com/">WebCheatSheet.com</a> has two new tutorials posted today - one dealing with the export of a database schema in an XML format and the other about sending emails from PHP.
</p>
<p>
Here's <a href="http://www.webcheatsheet.com/php/export_database_schema_xml.php">a link to</a> the first article.
</p>
<blockquote>
Sometimes it can be useful to have a dump of the current database schema. This script reads the schema from a MySQL database and outputs XML that describes the schema.
</blockquote>
<p>
And <a href="http://www.webcheatsheet.com/php/send_email_text_html_attachment.php">a link to</a> article number two.
</p>
<blockquote>
So, you want to send automated email messages from your PHP application. This can be in direct response to a user's action, such as signing up for your site, or a recurring event at a set time, such as a monthly newsletter. Sometimes email contains file attachments, both plain text and HTML portions, and so on. To understand how to send each variation that may exist on an email, we will start with the simple example and move to the more complicated.
</blockquote>]]></description>
      <pubDate>Fri, 09 Feb 2007 12:36:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Devshed: Email Management Details]]></title>
      <guid>http://www.phpdeveloper.org/news/6722</guid>
      <link>http://www.phpdeveloper.org/news/6722</link>
      <description><![CDATA[<p>
DevShed continues their look at the creation of a PHP email program (as excerpted from the "Zend PHP Certification Study Guide") with <a href="http://www.devshed.com/c/a/PHP/Email-Management-Details/">this new tutorial</a> focusing on the management of the emails themselves.
</p>
<blockquote>
In this second part of a two-part article, you'll learn how to manage email headers when creating a PHP email program, attach a file to a message, and more.
</blockquote>
<p>
In <a href="http://www.devshed.com/c/a/PHP/Email-Management-Details/">this part</a> they cover some of the details about the structure of emails, how to add an attachment to an email (for both a normal file and images for an HTML email), as well as a mention of how email is delivered.
</p>]]></description>
      <pubDate>Thu, 16 Nov 2006 11:05:36 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: A MIME Mailer Class]]></title>
      <guid>http://www.phpdeveloper.org/news/4605</guid>
      <link>http://www.phpdeveloper.org/news/4605</link>
      <description><![CDATA[On DevShed today, there's a <a href="http://www.devshed.com/c/a/PHP/A-MIME-Mailer-Class/">new tutorial</a> that seeks to show you how to create a MIME mailer class in PHP.
<p>
<quote>
<i>
This article outlines the design of a PHP class for sending email with attachments. Everything you need to do this is supplied by the core PHP system, so nothing additional (such as non-bundled extensions) should be needed save for the required set up and connection between PHP and a SMTP mail package such as Sendmail or Postfix. 
<p>
For details on setting up Sendmail and PHP, read through the appropriate section of the PHP manual. If you are already using the mail() function in PHP, you are ready to go right now.
</i>
</quote>
<p>
They <a href="http://www.devshed.com/c/a/PHP/A-MIME-Mailer-Class/">start off simple</a>, creating the basic framework of the mailer class - to, from, subject, etc. From there, they build the header creation function to input the right information. Then, it's on to the heart of the matter - the "add attachment" function, and the "determine mime type" function". From there, the rest is simple...]]></description>
      <pubDate>Wed, 04 Jan 2006 09:01:09 -0600</pubDate>
    </item>
  </channel>
</rss>
