Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Dominik_G
Contributor
Contributor

Downloading Only Selected Attachments from E-Mails

Dear all,

 

I am building a job to download attachments from e-mails, as a part of bigger automated process. 

 

I am using tPOP to download e-mails and tFileList + tFileInputMail to download the attachments. 

 

BUT, this only allows me to download ALL attachments from the e-mails, while I just want to download selected attachments, e.g. based on file name and/or extension. 

 

Is there any way to do this? 

 

Thanks,

Dominik

Labels (2)
1 Reply
fdenis
Master
Master

mail attachment are into mail body so when you geta mail you download all attachment within.
you can then extract attachments from mail body
so you cannot download only one attachment…
there is no simple way to extract only one attachment.
but you can extract all and delete some…
if you want to do it using code:
you can get a template code of tFileInputMail into code tab then use tJavaFlex to make your own component. (but you are going to loos readability and easy way of support)