View previous topic :: View next topic |
Author |
Message |
Robert Site Admin
Joined: 25 May 2006 Posts: 1140
|
Posted: Wed Oct 11, 2006 9:37 pm Post subject: Save attachments in Check Email task from being overwritten? |
|
|
email support request:
My POP3 box contains several emails.
All the emails are identical and contain attachments – always the same file names.
The difference is in file contents only.
For instance, I have 3 emails in my email box containing FILE.TXT as attachments.
After processing it by the Check Mail task I get 3 extracted bodies and one attachment only (two times overwritten)
Email_0_
Email_1_
Email_2_
FILE.TXT
Two attachments are lost and I even don’t know which body owned the FILE.TXT.
By indexing attachments I meant something like:
Email_0_
Email_0_FILE.TXT_0_
Email_0_FILE.TXT_1_
Email_0_FILE.TXT_2_
Email_0_Archive.zip_3_
Email_1_
Email_1_ FILE.TXT_0_
Email_2_
Email_2_ FILE.TXT_0_
Email_2_ FILE.TXT_1_
Or any other way with unique names and clear links: [email body] ->[attachments]
Any user defined format would be very welcome. |
|
Back to top |
|
|
Robert Site Admin
Joined: 25 May 2006 Posts: 1140
|
Posted: Wed Oct 11, 2006 9:38 pm Post subject: |
|
|
We simply added the following variables to 7.16 email check task:
CurrentMessageID and CurrentAttachmentID
you can use these variables in the Append To filename field to dynamically append the message id and attachment id as required.
example:
P2::_$%title::CurrentMessageID%$_$%title::CurrentAttachmentID%$
would attach _0_1 , _0_2, _1_3 etc. before the extension, to the emails as well as attachments.
Additionally, within the append to filename field, you can also use the $%DATE::...%$ variable and the $%title::Instance%$ variables to separate emails / attachments between different task instances..
i.e.
P2::_$%title::Instance%$_$%title::CurrentMessageID%$_$%title::CurrentAttachmentID%$ |
|
Back to top |
|
|
|