Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Kae Verens' Blog:
Moving email from qmail to postfixadmin
Sep 05, 2008 @ 14:30:05

In this new blog post Kae Verens 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.

Yesterday we 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 Qmail (difficult to use, in my opinion) towards Postfix. After doing one or two by hand, i decided that’s stupid - why not just automate the whole thing.

The script reads from vqadmin and pushes that information over to mailadmin who makes the emails over on the postfix side. The script makes heavy use of the cURL extension to get the job done.

tagged: move email postfix qmail mailadmin automate vqadmin

Link:

DeveloperTutorials.com:
Writing an Email Autoresponder Script with PHP
Jan 04, 2008 @ 21:58:00

The DeveloperTutorials website has a new article that steps you through the creation of an autoresponder script for an email account (in qmail).

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.

The tutorial sets up a basic structure for you to work from including places for the addresses and extra headers for the response. You can also download the code to have it to follow along with (or play around with yourself).

tagged: email autoresponder script qmail address header email autoresponder script qmail address header

Link:

DeveloperTutorials.com:
Writing an Email Autoresponder Script with PHP
Jan 04, 2008 @ 21:58:00

The DeveloperTutorials website has a new article that steps you through the creation of an autoresponder script for an email account (in qmail).

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.

The tutorial sets up a basic structure for you to work from including places for the addresses and extra headers for the response. You can also download the code to have it to follow along with (or play around with yourself).

tagged: email autoresponder script qmail address header email autoresponder script qmail address header

Link:

Tobias Schlitt's Blog:
Qmail and PHPs mail() function
Sep 18, 2006 @ 12:57:44

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 this helpful hint from Tobias Schlitt on how he solved it.

While working with the eZ Mail component, 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.

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] Check out this page for more information on this functionality.

tagged: qmail ezcomponent mail endofline newline carriage return qmail ezcomponent mail endofline newline carriage return

Link:

Tobias Schlitt's Blog:
Qmail and PHPs mail() function
Sep 18, 2006 @ 12:57:44

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 this helpful hint from Tobias Schlitt on how he solved it.

While working with the eZ Mail component, 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.

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] Check out this page for more information on this functionality.

tagged: qmail ezcomponent mail endofline newline carriage return qmail ezcomponent mail endofline newline carriage return

Link:


Trending Topics: