<?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>Thu, 23 May 2013 04:05:17 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHPMaster.com: Sending Emails with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/17031</guid>
      <link>http://www.phpdeveloper.org/news/17031</link>
      <description><![CDATA[<p>
In a new tutorial from PHPMaster.com <i>Jason Pasnikowski</i> takes a look at <a href="http://phpmaster.com/sending-emails-with-php/">sending emails with PHP</a> - an introduction to what the language offers and how it can be used to send an HTML version.
</p>
<blockquote>
In most cases your installation of PHP will be capable of sending emails. If you are using a shared host, or if you installed PHP using a package management system like apt-get, more than likely you're all set. You'll really only need to worry about extra configuration if you're compiling PHP from source or if you're running it on Windows. In either case, there are plenty of resources available online to help you out. Because that's all beyond the scope of this article, I'll assume you're set. If not, Google will be your friend.
</blockquote>
<p>
He starts with a simple example using the <a href="http://php.net/mail">mail</a> function but quickly moves on to sending a multi-part email with an attached zip file and HTML content. He includes the all code you'll need and explains each part in detail so you'll know exactly what's going on.
</p>]]></description>
      <pubDate>Mon, 24 Oct 2011 20:08:52 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Ian Christian's Blog: Sending multipart email from a Task in symfony 1.4]]></title>
      <guid>http://www.phpdeveloper.org/news/13681</guid>
      <link>http://www.phpdeveloper.org/news/13681</link>
      <description><![CDATA[<p>
In a recent post to his blog <i>Ian Christian</i> has <a href="http://pookey.co.uk/blog/archives/90-Sending-multipart-email-from-a-Task-in-symfony-1.4.html">written up an example</a> of how to send a multipart email from a Task inside your <a href="http://symfony-project.org">Symfony</a> application.
</p>
<blockquote>
I recently needed to send the result of an action in symfony via email daily. E-mail has changed slightly in symfony 1.3/1.4 - here's how I did it. I really don't like my solution at all, the use of get_partial() from within a Task seems very wrong to me - but I'm in a rush so it will do for now, I'd love to hear feedback. 
</blockquote>
<p>
His class extends the sfBaseTask and sets up an execute method that builds a database connection, fetches a few rows and, with a newly created mailer instance, sends the information using the get_partial method to define both HTML and text content parts of the email.
</p>]]></description>
      <pubDate>Wed, 16 Dec 2009 07:58:37 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Terry Chay's Blog: Clever HTTP]]></title>
      <guid>http://www.phpdeveloper.org/news/7284</guid>
      <link>http://www.phpdeveloper.org/news/7284</link>
      <description><![CDATA[<p>
With the <a href="http://www.phpdeveloper.org/news/7279">recent release</a> of a new Firefox/PHP combination extension, several developers were interested in just how it all worked. One such developer is <i>Terry Chay</i> who has <a href="http://terrychay.com/blog/article/clever-http.shtml">posted about it</a> to his blog today after looking into how it all fits together.
</p>
<blockquote>
The standard way of debugging in PHP involves just echoing shit to the screen. The fact that PHP is a scripting language makes this an excellent way of debugging on the web. But what happens when doing this breaks your site?
</blockquote>
<p>
That's where <a href="http://www.firephp.org/">FirePHP</a> comes in - it sends along a special request from your PHP script (as fired off by special code you insert) to include debugging information inside a different part of a "multipart/mixed" message. <i>Terry</i> also includes some of his sample code (including a <a href="http://terrychay.com/m/bin/firephp.tgz">custom version</a> of the software) that he used to get things working. Check out <a href="http://www.flickr.com/photos/tychay/390777322/">the screenshot</a> for the results.
</p>]]></description>
      <pubDate>Thu, 15 Feb 2007 08:19:00 -0600</pubDate>
    </item>
  </channel>
</rss>
