<?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>Sun, 19 May 2013 13:18:32 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Kae Verens' Blog: Moving email from qmail to postfixadmin]]></title>
      <guid>http://www.phpdeveloper.org/news/10970</guid>
      <link>http://www.phpdeveloper.org/news/10970</link>
      <description><![CDATA[<p>
In <a href="http://verens.com/archives/2008/09/05/moving-email-from-qmail-to-postfixadmin/">this new blog post</a> <i>Kae Verens</i> shares a method he came up with to change over about 300 domains' worth of email over from qmail to posfix in an orderly, automated fashion.
</p>
<blockquote>
Yesterday <a href="http://webworks.ie/">we</a> had to move about 300 domains from one machine to another. We bought a new machine recently and are taking this opportunity to move from <a href="http://www.qmail.org/">Qmail</a> (difficult to use, in my opinion) towards <a href="http://www.postfix.org/">Postfix</a>. After doing one or two by hand, i decided that's stupid - why not just automate the whole thing.
</blockquote>
<p>
The script reads from vqadmin and pushes that information over to mailadmin who makes the emails over on the postfix side. <a href="http://verens.com/archives/2008/09/05/moving-email-from-qmail-to-postfixadmin/">The script</a> makes heavy use of the cURL extension to get the job done.
</p>]]></description>
      <pubDate>Fri, 05 Sep 2008 09:30:05 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DeveloperTutorials.com: Writing an Email Autoresponder Script with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/9360</guid>
      <link>http://www.phpdeveloper.org/news/9360</link>
      <description><![CDATA[<p>
The DeveloperTutorials website has a <a href="http://www.developertutorials.com/tutorials/php/writing-an-email-autoresponder-script-with-php-8-01-03/page1.html">new article</a> that steps you through the creation of an autoresponder script for an email account (in qmail).
</p>
<blockquote>
It's very convenient for users to be able to communicate with web applications (or businesses) via email, but it's not always easy for the employees of the company to respond. Some of the email requests could be complex, and others could be simple but occur very frequently. So it's a real advantage when we can write scripts to respond to user emails for us.
</blockquote>
<p>
<a href="http://www.developertutorials.com/tutorials/php/writing-an-email-autoresponder-script-with-php-8-01-03/page1.html">The tutorial</a> sets up a basic structure for you to work from including places for the addresses and extra headers for the response. You can also <a href="http://www.mollerus.net/tom/blog/downloads/autoresponder.script.php.txt">download the code</a> to have it to follow along with (or play around with yourself).
</p>]]></description>
      <pubDate>Fri, 04 Jan 2008 15:58:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Tobias Schlitt's Blog: Qmail and PHPs mail() function]]></title>
      <guid>http://www.phpdeveloper.org/news/6294</guid>
      <link>http://www.phpdeveloper.org/news/6294</link>
      <description><![CDATA[<p>
Anyone noticing some "quirkiness" happening when they use the eZ Mail component in their scripts and bounce the messages off of a Qmail server, might want to check out <a href="http://schlitt.info/applications/blog/index.php?/archives/492-Qmail-and-PHPs-mail-function.html">this helpful hint</a> from <i>Tobias Schlitt</i> on how he solved it.
</p>
<blockquote>
While working with the <a href="http://components.ez.no/doc/Mail">eZ Mail component</a>, for sending some emails comfortably, I noticed some issue with my Qmail installation. With some email accounts that received the emails, the headers were broken and had double line break characters, so the complete email was broken. That (weirdly) happened only with some servers (e.g. Gmail), while my own server handeled the emails gracefully.
</blockquote>
<p>
He discovers that the issue lies on Qmail's side, where the sendmail wrapper for it looks for a "\n" instead of a "\r\n" line PHP sends at the end of a line. Thankfully, it's an easy fix with the eZ Mail component:
[php]
<?php
ezcMailTools::setLineBreak( "\\n" );
?>
[/php]
Check out <a href="http://ez.no/doc/components/view/latest/(file)/Mail/ezcMailTools.html">this page</a> for more information on this functionality.
</p>]]></description>
      <pubDate>Mon, 18 Sep 2006 07:57:44 -0500</pubDate>
    </item>
  </channel>
</rss>
