Jump to content

How to download ALL email attachments from a mail server in php


paritycheck

Recommended Posts

Hi guys, I need some help on this. I've fixed up a simple IMAP email client in php. Its working real ok downloading emails etc...I want that when its downloading emails form the mail server, it should also at the same time download all attachments and put them into separate folders each folder like named after the udate or message id of the email.

 

The trick is that I want to download all my emails into a local db and at the same time download all my attachments. But as of now my code pretty much doesn't do anything apart from a normal web mail client you know click on attachment link - get prompted to download etc..

 

Anyone got any ideas on this it would be a great GREAT help...  ;D

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.