Re: Dump client, nice concept...but how to do it via php?
| From: | Marek Kilimajer | Date: | Mon, 11 Apr 2005 20:39:41 +0000 |
| Subject: | Re: Dump client, nice concept...but how to do it via php? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-212841@lists.php.net to get a copy of this message | ||
Ryan A wrote:
Hey, Thanks for replying.User sends email from his mobile with the picture attached. Then you can either: 1. Pipe all incoming emails to a script (php or whatever), parse it and write the image to a file and update database. There are classes that can parse emails, just search. 2. Use php's imap functions to regularly (or at the user's request) check the email account for new emails. Read the attachement, etc.profile...some other way of uploading a pic from the users mobile to theemail, but be aware of the security. Users should input some token in the subject.How with email? other than sending email using mail() i have never worked with any email functions in php. Do you have any code, classes or functions I can start reading up on?