title: How to Download all mail with attachments to server using PHP IMAP?
body: <p>Using PHP IMAP function i can read email, but i need to run autoamtically or manually to download messages , how can i download all email messages with or without attachments and saved it to local drive or server in mailid folder name for major networks (gmail,yahoo,hotmail,AOL).</p>