Drew Riley - 2014-05-16 15:29:00
So let's start with saying i'm a php novice.
But i'm looking though the code and it looks like it process the "save attachments" before it processes the headers.
What I'm hoping to accomplish is to name the attachments dynamically based on the email subject
The point is to be able to refer later to the attachment from a script.
So say the subject of the email was "test123" and the attachment was "photo.jpg", I need the attachment saved to be named test123.photo.jpg
I am just too amateur to get it working, although I tried for a good 3 hours or so.
Could I entice you to write a wrapper script that I could run that would open a mail box, save the attachments based on the email subjects?