Re: Uploading by email

From: Date: Tue, 26 Aug 2003 06:10:29 +0000
Subject: Re: Uploading by email
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-160728@lists.php.net to get a copy of this message
Hello, On 08/25/2003 05:41 PM, Wouter Van Vliet wrote:
I know it's slightly not totally about PHP.. but since I wanna do it with PHP, i'll post it here. I was wondering if anybody can help me to accomplish the following: - Somebody sends an email to, for example, fotoupload@esctoday.com. This email has some attachments, being photo's to be added to some system. - Sendmail recievers the email, and sends it to some PHP script - This script parses the input it gets, ... Now, what would I need to do for all this to happen?
The generic portable solution is to make your messages be deliverd to a POP3 mailbox and the connect to the POP3 server to retrieve and process the message. I do that very often and use this POP3 client class to retrieve and delete processed messages: http://www.phpclasses.org/pop3class -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/

« previous php.general (#160728) next »