Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Oct 2001 18:18:03 -0400 (EDT)
From:      Matt Gostick <matt@deymos.com>
To:        Chris Aitken <chris@ideal.net.au>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Getting an Email into a PHP/pl script
Message-ID:  <20011004181459.X76451-100000@gaspra.deymos.com>
In-Reply-To: <5.1.0.14.2.20011005074857.0320bf88@mail.ideal.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Chris,

Procmail will do what you need (usr/ports/mail/procmail).  I'm not
sure what you are trying to accomplish but if it's just simple mail
filtering then procmail can do that without redirecting to a custom
script.

Matt.


On Fri, 5 Oct 2001, Chris Aitken wrote:

> Hi all,
>
> I have looked into the archives but im not sure what im searching for so I
> decided to ask here.
>
> What I want to do is, on my FreeBSD box running PHP and MySQL, to have a
> system which will take any email sent to a specific address, and pipe the
> body of the email to PHP (or even to a perl script). Once I have the body
> of the email as a variable, I can do all my parsing and extracting etc to
> do with it as I need, but im baffled on where to start looking to get this
> done.
>
> Any help would be greatly appreciated.
>
>
>
> Cheers
>
>
> Chris
>
>
>
>      Chris Aitken - Administration/Database Designer - IDEAL Internet
>   email: chris@ideal.net.au  phone: +61 2 4628 8888  fax: +61 2 4628 8890
>               __-----------------------------------------__
>     It is said that if you line up all the cars in the world end to end,
>           some moron in a rotary will still to try and pass them
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011004181459.X76451-100000>