Not able to extract attachment from Mail file(xyz.mail)

Seven Stars

Not able to extract attachment from Mail file(xyz.mail)

I'm not able to fetch the attachment from (xyz.mail) which is stored in my Explorer.

Model has been described below using Screenshots

 

Model

Capture.PNGModelComponent of tFileList

Capture.PNGComponent of tFileListComponent of tFileInputMail

Capture.PNGComponent of tFileInputEmailFile in Explorer

Capture.PNGFile in Explorer

Eleven Stars

Re: Not able to extract attachment from Mail file(xyz.mail)

can you show us the content of your .mail file?

Francois Denis

Tag as "solved" for others! Kudos to thanks!

Seven Stars

Re: Not able to extract attachment from Mail file(xyz.mail)

@fdenis

CSV File i have received and i have downloaded mail using tPOP but not able to extract the attachment CSV file from that email file.

 

Capture.PNG

Eleven Stars

Re: Not able to extract attachment from Mail file(xyz.mail)

can you open the .mail file in a text editor?
and analyse if the attachent is included or not.

Francois Denis

Tag as "solved" for others! Kudos to thanks!

Seven Stars

Re: Not able to extract attachment from Mail file(xyz.mail)

@fdenis

Shared Screenshot, it contains CSV FileCapture.PNG

Eleven Stars

Re: Not able to extract attachment from Mail file(xyz.mail)

did you try new job just tFileInputMail default config with your file?

Francois Denis

Tag as "solved" for others! Kudos to thanks!

Seven Stars

Re: Not able to extract attachment from Mail file(xyz.mail)

@fdenis

 

No changes occured ! after developing the new job and configured the tFileInputMail, still not extracting attachment.

ScreenShot shared belowCapture.PNG

Eleven Stars

Re: Not able to extract attachment from Mail file(xyz.mail)

did you have MIME-Version in your file.mail

Francois Denis

Tag as "solved" for others! Kudos to thanks!

Seven Stars

Re: Not able to extract attachment from Mail file(xyz.mail)

Seven Stars

Re: Not able to extract attachment from Mail file(xyz.mail)

Eleven Stars

Re: Not able to extract attachment from Mail file(xyz.mail)

did you try with only one mail? I do not think so!
It's not a csv file in a mail, in a mail!
mail Type is right.
access right are Ok.
so ????

Francois Denis

Tag as "solved" for others! Kudos to thanks!

Seven Stars

Re: Not able to extract attachment from Mail file(xyz.mail)

@fdenis

I tried with plenty of mails around 50-60 but no results were found, but it fetches attachments before 22nd June.

 

It doesn't fetch the attachment that i received after 22nd June

 

i didn't get about rights, i had enabled POP and IMAP in email and have my own credentials like USERNAME and PASSWORD. 

 

can you please elaborate about what types of rights i required ?

Seven Stars

Re: Not able to extract attachment from Mail file(xyz.mail)

@fdenis

It is a CSV file because I manually downloaded these files to verify if files has some problem or not !

Eleven Stars

Re: Not able to extract attachment from Mail file(xyz.mail)

can you compare file.mail before and after 22 of june?

Francois Denis

Tag as "solved" for others! Kudos to thanks!

Seven Stars

Re: Not able to extract attachment from Mail file(xyz.mail)

I already Checked those files but no changes in credentials and file type found @fdenis

 

Eleven Stars

Re: Not able to extract attachment from Mail file(xyz.mail)

can you today with talend, extract attachment from mail before 22 ?

if yes , the mail format may have change
if no, it's talend side.

Francois Denis

Tag as "solved" for others! Kudos to thanks!

Seven Stars

Re: Not able to extract attachment from Mail file(xyz.mail)

@fdenis
Yes, i can fetch emails before 22nd June
But the mail format is also same
Mail format of 21st June is as same as of 28th June still I'm not able to fetch attachment.
Eleven Stars

Re: Not able to extract attachment from Mail file(xyz.mail)

can you join this files?

Francois Denis

Tag as "solved" for others! Kudos to thanks!

Seven Stars

Re: Not able to extract attachment from Mail file(xyz.mail)

I didn't get. How can i join these two files
Eleven Stars

Re: Not able to extract attachment from Mail file(xyz.mail)

sorry can you insert mail files in your next post

Francois Denis

Tag as "solved" for others! Kudos to thanks!

Seven Stars

Re: Not able to extract attachment from Mail file(xyz.mail)

@fdenis

Mail file has been attached but every times this error occurs !Capture.PNG

Seven Stars

Re: Not able to extract attachment from Mail file(xyz.mail)

@fdenis

i have forwarded those mails to my another ID from there i'm able to access those mails as well as attachments but how come when i store those mails into my HDD and not able to extract the attachment.

Eleven Stars

Re: Not able to extract attachment from Mail file(xyz.mail)

sometime attachement can be convert to link.
for exemple if you send a big photo with gmail you are going to use gDrive.
or if you manualy extract mail it may extract only the message and not the attachment.
we need to have a look at the file generated by tpop.

Francois Denis

Tag as "solved" for others! Kudos to thanks!

Moderator

Re: Not able to extract attachment from Mail file(xyz.mail)

Hello,

From your screenshot, there is no "Attachment" column in your Mail parts.

Could you please have a look at my screenshot?

attachment.png

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

Re: Not able to extract attachment from Mail file(xyz.mail)

@xdshi

Not Working !
I tried attachment in field Scheme but didnt worked

Moderator

Re: Not able to extract attachment from Mail file(xyz.mail)

Hello,

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

Let us know if you have the same situation.

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: Not able to extract attachment from Mail file(xyz.mail)

Hi, did you managed to fix that?

I have same issue and fileinputmail working properly only when there is no images inside mail. 

Seven Stars

Re: Not able to extract attachment from Mail file(xyz.mail)

@Dr3am1iner

An issue hasn't been fixed yet I had implemented an alternative Java Code and rest process in Talend.

Regards 
Meet Mahajan

Five Stars

Re: Not able to extract attachment from Mail file(xyz.mail)

could you please share your code?

Seven Stars

Re: Not able to extract attachment from Mail file(xyz.mail)

Sorry @Dr3am1iner, code is futile but I'm not getting any issues regarding the code,

tFileInputMail isn't downloading my attachments from email rather it works after forwarding of that mail.
Regarding the issue, all information is stated above as well let me know if you have any queries.

 

Thanks 
Meet Mahajan