I need a php script that will download email from either pop3/imap and all attachments to a dir. So in essence provide a archived copy of an email account on my web server.
Printable View
I need a php script that will download email from either pop3/imap and all attachments to a dir. So in essence provide a archived copy of an email account on my web server.
probably you want Fetchmail
Quote:
Fetchmail is a full-featured and robust remote mail retrieval and forwarding utility. It retrieves mail from remote mail servers (POP3, IMAP, ODMR, ETRN) and forwards it to your local machine's mail delivery system for local reading.
I'd agree, fetchmail would be the easiest means of doing so, perhaps coupled with procmail to sort it into dirs.