From owner-freebsd-questions Thu Oct 4 14:53:24 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.ideal.net.au (ion.ideal.net.au [203.20.241.5]) by hub.freebsd.org (Postfix) with ESMTP id 5359237B409 for ; Thu, 4 Oct 2001 14:53:17 -0700 (PDT) Received: from helium.ideal.net.au (trilluser@helium.staff.ideal.net.au [202.3.35.2]) by mail.ideal.net.au (8.9.3/8.9.3) with ESMTP id HAA94178; Fri, 5 Oct 2001 07:53:09 +1000 (EST) (envelope-from chris@ideal.net.au) Message-Id: <5.1.0.14.2.20011005074857.0320bf88@mail.ideal.net.au> X-Sender: chris@mail.ideal.net.au X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Fri, 05 Oct 2001 07:54:00 +1000 To: php-general@lists.php.net, freebsd-questions@FreeBSD.ORG From: Chris Aitken Subject: Getting an Email into a PHP/pl script In-Reply-To: <20011004210925.22415.qmail@pb1.pair.com> References: <3BBCC9F7.EB932EE4@Visionnet.nl> <0c3701c14d18$3505c910$6401a8c0@workstation7> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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