tPop - tFileInputMail extract attachment from all emails

One Star

tPop - tFileInputMail extract attachment from all emails

Hi,
The tPOP connects to the email account where I have several e-mail (so far so good), then i use tFileInputMail to extract the attachments of all email. The problem is that it only extract the the first email attachment.

thanks
Moderator

Re: tPop - tFileInputMail extract attachment from all emails

Hi,
What's the connection type between tPOP and tFileInputMail? Could you please upload a screenshot of your job design settings? It will be useful for us to find out the problem.

Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: tPop - tFileInputMail extract attachment from all emails

Hi Sabrina,
It's a very simple design.


One Star

Re: tPop - tFileInputMail extract attachment from all emails

Hi again,
The tPop Works fine, all emails are downloaded to the folder. When the tFileInput Mail tries to extract it only works for the first email attachment.
Thanks
One Star

Re: tPop - tFileInputMail extract attachment from all emails

Can someone help me please....
One Star

Re: tPop - tFileInputMail extract attachment from all emails

you should use ((String)globalMap.get("tPOP_1_CURRENT_FILEPATH")) 
for the filename in tInputmail component 

Calling Talend Open Studio Users

The first 100 community members completing the Open Studio survey win a $10 gift voucher.

Start the survey

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

6 Ways to Start Utilizing Machine Learning with Amazon We Services and Talend

Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend

Blog