tFileInputMail does not extract Attachment

Five Stars

tFileInputMail does not extract Attachment

Hi.

Version.

Talend     Tos branding feature    6.3.1.20161216_1026    org.talend.rcp.branding.tos.feature.feature.group  

java.runtime.version=1.8.0_131-b11

 

I can´t get to work the tFileInputMail when the email comes from a mobile apple client.

The job was working without issues for almost a year.

To isolate the problem I have designed a small job to read the email file (MIME) message and investigate when it fails.

Two emails messages are attached to this issue. One with BASE64 encoding format for the attachment (a csv file) and the other with 7bit encoding for the attachment(20180624-210832_1NotOk.mail).

The thing is that the java code for the component that extract the multipart content is not getting the content. It appears to not have an attachement inside.

To make the things easier I´m working with one single mail file in the job. I have just changed the file name.

The same job works with another .mail file that comes with base64 encodig attachment. (20180624-210832_2Ok.mail)

 

 Captura de pantalla 2018-06-25 a la(s) 12.55.19.png

attachments directory empty. With 20180624-210832_1NotOk.mail

Captura de pantalla 2018-06-25 a la(s) 12.56.54.png

The job can extract attachement from 20180624-210832_2Ok.mail

 

Thank you in advance for any light on this.

Daniel.

Moderator

Re: tFileInputMail does not extract Attachment

Hello,

Are you able to get the data content in NotePad++ for your email comes from a mobile apple client?

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.
Five Stars

Re: tFileInputMail does not extract Attachment

of course.

I can download and extract from any other email client the attached files.

Five Stars

Re: tFileInputMail does not extract Attachment

Here it is in text format:

--Apple-Mail-F694C06C-C33D-449D-B996-030729B571B3
Content-Type: text/csv;
	name=asistencia-factor-hombre.csv;
	x-apple-part-url=F63BDD68-AEBC-46B4-ADA3-A6289958D6C2
Content-Disposition: attachment;
	filename=asistencia-factor-hombre.csv
Content-Transfer-Encoding: 7bit

Barcode,Item,Name,Quantity,Description,Type,Date
"ID60$VICENTE DURAN LINAN","1","","1","","QR_CODE","2018-05-19T09:39:43-05:00"
--Apple-Mail-F694C06C-C33D-449D-B996-030729B571B3

 

Moderator

Re: tFileInputMail does not extract Attachment

Hello,

Here exists a jira issue:https://jira.talendforge.org/browse/TDI-39982.

Could you please have a look at it?

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.
Five Stars

Re: tFileInputMail does not extract Attachment

Hi. Sabrina

I do not have two email attachment with the same name within the email MIME format.

Did you see the attached files that I have sent?

Thank you.

Five Stars

Re: tFileInputMail does not extract Attachment

Hi.

Do you have any other solution or sugestion?

Moderator

Re: tFileInputMail does not extract Attachment

Hello,

Could you please create a work item jira issue on talend bug tracker?

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.
Five Stars

Re: tFileInputMail does not extract Attachment

The issue was created on jira as per your suggestion.

https://jira.talendforge.org/browse/TDI-41088

 

Thank you.

Four Stars

Re: tFileInputMail does not extract Attachment

Any update on this one ? I have the same issue. When we receive a mail from one particular client, we cannot download the attachment. When we forward the mail from our own mailbox we can download the attachment.

 

 

Five Stars

Re: tFileInputMail does not extract Attachment

I don't have any update on this, even when was properly documented on jira.

 

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

Why Companies Move to the Cloud: 7 Success Stories

Learn how and why companies are moving to the Cloud

Read Now