Six Stars med
Six Stars

Extract the Attachement File from mail

Hello Community,

 

Happy new year 2018.

 

So i want to extract the attachment file from Mail, i developed job which can extract the .txt .csv file attachments.

But i have specific case, i pop the email but i can't extract the attachment file (which have specific format).

do you have any idea, how to check the list of files we can extract using the tFileInputMail component.

 

Thanks,

BR,

Med

4 REPLIES
Employee

Re: Extract the Attachement File from mail

Hi Med,

 

Check this article. https://help.talend.com/reader/OpHcdGqm9SmwqW2fhzHnzw/PmSCiNSjST6h25NI5EkVGA 

 

Hope this helps.

Thanks,

RekhaSree

 

Six Stars med
Six Stars

Re: Extract the Attachement File from mail

Hello,

 

Basically i used the same job to extract the file in attachments and it works for the files with extension (.csv, .xml..) . but in my case the file in attachment don't have any extension when i use tfileinputMail, it ignores the file.

 Do you have in idea ?

 

thanks,

BR,

Med

Moderator

Re: Extract the Attachement File from mail

Hello,

You can set basic settings of tFileInputMail as:
Column           Mail part
SUBJECT          SUBJECT
ATTACHMENT   ATTACHMENT to extract email attachment.
The work flow should be:

tPop --> tFileInputMail 
Let us know if it is OK with you.

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.
Six Stars med
Six Stars

Re: Extract the Attachement File from mail

Hello,

I already dit this config but it is not working for attachments files which don't have extension.
Any other solution ?

Thanks,
BR,
Med