Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
AndreK
Contributor III
Contributor III

tfileinputmail attachments with same filenames

Dear experts,

 

I have to download the mail(imap) and extract the attachments: tpop --(iterate)-> tfilelist--(iterate)>tfileInputMail it is working.

But now I have an issue, if the mail includs multiple attachments with the same filename (123.pdf and 123.pdf).

By downloading last file overwrite the first file.

 

How can I resolve this issue ?

Labels (2)
14 Replies
Anonymous
Not applicable

@Andre, no other component can export attachment from an email, I am not sure if this situation can be consider as a bug or not, you can open a jira issue on our bugtracker to our R&D team, or modify the source code of component if you are a Java developer.

Regards
Shong
AndreK
Contributor III
Contributor III
Author

ok, thank you for your reply.

I have opened a new jira bugtracker for this issue.

pyzhou
Contributor
Contributor

I think there a way to solve this by storing attachments in separate folders.
By set the flow variable ((String)globalMap.get("tFileList_1_CURRENT_FILE")) as part of attachment export folder.
0683p000009M9dd.png

Anonymous
Not applicable

@pyzhou, the problem is the mail has two attachments or more with the same name, not that different mails have attachment with the same name.

 

AndreK
Contributor III
Contributor III
Author

@pyzhouIn your case each attachment of one mail will be saved in the folder.

In my case I have one mail with two attachments with same name. By downloading the last attachment will overwrite the first one.