View Full Version : PHP Email graphic grabber

11-03-2009, 10:36 PM
ok so im not good with the title thing haha.

what im looking for is a php code that extracts graphical attachments from emails and stores them in specified folder

11-04-2009, 02:07 AM
(Your title is fine-- you get the point across and it is, most importantly, unique.)

The problem with what you want is that you first need to get the email. If you have the email, then you can just extract (via several possible methods, depending on format) that part of the email content and write it to a file (look up fwrite() on php.net for a clear example).

Do you already have it setup? Or do you need to configure an email server as well?

Sending emails in PHP is relatively easy; receiving them is quite difficult.