Hi All, Been a bit bored, so went at it to create a class from some long procedural stuff I found littered in various guises all over the web. The code I used as a base for the class came from [here](http://www.codediesel.com/php/downloading-gmail-attachments-using-php/). As this uses IMAP functions and many of you out there use XAMPP on your local machines, ensure that you enable it in php.ini before testing this script. Search the file for `;extension=php_imap.dll` and take off the preceding semi-colon to leave `extension=php_imap.dll`. Save the file. You then need to restart Apache. Usage is pretty simple - just three …

Member Avatar
+4 forum 0

The End.