Hello Monks,
I have written a new piece of code that logs into a mailbox, goes through each message and downloads the attachment.
I have used the function $parser->filer->output_prefix($msgID) to prefix the message files with the Message ID in the headers. But this doesn't prefix the attachment names with the Message ID.
Here's my question:
How do I ensure that the attachment files (e.g. Accounts.xlx) for a particular message are prefixed with the Message ID (e.g. 7915ecf0-2784-49c4-a579-e550b402ad7d-Accounts.xls)?
I'd appreciate your comments on this.
Thanks.
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |