Re: [Nolug] automating email

From: Petri Laihonen <>
Date: Thu, 14 Apr 2011 00:12:07 -0500
Message-ID: <>

Do you know any scripting languages such as PHP?

In the past, I made a PHP script to read mail, open the attachments and then
act upon the contents of said attachments. I was running the script with
cron, but nowdays I would just make a PHP script run as daemon which can be
stop|start|restart|etc just like any other daemon.

IMHO, PHP is far easier than Procmail.


On Wed, Apr 13, 2011 at 11:19 PM, Clint Billedeaux <>wrote:

> I'm trying to automate some very routine email handling done by the office
> staff.
> At present, one person is assigned to check an email inbox and save it's
> attachments to folders on the file server. I'm sure scripting this to
> happen throughout the day shouldn't be a huge ordeal, but I haven't the
> foggiest idea how to start. I looked at a few procmail scripts, but I'm
> coming up short on comprehending how to save the email attachments.
> Any ideas where I should look for help?
> Thanks,
> Clint

Nolug mailing list
Received on 04/14/11

This archive was generated by hypermail 2.2.0 : 04/14/11 EDT