开发者

Photo uploading via email

开发者 https://www.devze.com 2022-12-30 12:25 出处:网络
I\'d like to be able to upload photos via email, which I\'ve seen (and used) on eat.ly and meetups.jquery.com but I haven\'t been able to work out how to do开发者_如何学Python this, does anyone have a

I'd like to be able to upload photos via email, which I've seen (and used) on eat.ly and meetups.jquery.com but I haven't been able to work out how to do开发者_如何学Python this, does anyone have a solution?

Essentially I believe the process should be something like this: 1) user adds picture to email on mobile device then send to a specific email address, say 'photos@mydomain.com' 2) email server, cron job or something else looks at the senders address and tells it to add the attachement to that account 3) photo shows up on users profile page

I run Apache servers, with MySQL, PHP, and a JQuery framework. I have email servers running Courier, and I missing anything?


The simplest way to do this is to make a cron job that checks the email account using POP, and parses and process any incoming emails.

To read the image attachments, you'll need a MIME parser.

For more specific advice, please tell us what language you're trying to write the script in.

Here is a PHP POP client.

0

精彩评论

暂无评论...
验证码 换一张
取 消