hiteksoftware.com Forum Index hiteksoftware.com
User discussion forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Save attachments in Check Email task from being overwritten?

 
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Email
View previous topic :: View next topic  
Author Message
Robert
Site Admin


Joined: 25 May 2006
Posts: 1140

PostPosted: Wed Oct 11, 2006 9:37 pm    Post subject: Save attachments in Check Email task from being overwritten? Reply with quote

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
View user's profile Send private message
Robert
Site Admin


Joined: 25 May 2006
Posts: 1140

PostPosted: Wed Oct 11, 2006 9:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Email All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group