Hello All,
I'm putting together a simple plugin that allows the user to selectively use the data stores within the email and link it to clients, tasks, events, calendar etc.
At this point in time, I've succeeded in capturing header & body data via the methods below:
$MESSAGE->headers->messageID;
$MESSAGE->headers->uid;
$MESSAGE->headers->subject;
$MESSAGE->headers->size;
$MESSAGE->headers->folder;
$MESSAGE->headers->from;
$MESSAGE->headers->to;
$MESSAGE->headers->date;
$MESSAGE->first_text_part();
$MESSAGE->first_html_part();
Now I need to capture the attachments. :o
Would someone send me the code please. ;D
regards
Mark
They are in $MESSAGE->attachments