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

25 REPLIES
Ten Stars

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

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

Francois Denis

Don't forget to tag when it's "solved"!

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

Ten 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

Don't forget to tag when it's "solved"!

Seven Stars

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

@fdenis

Shared Screenshot, it contains CSV FileCapture.PNG

Ten 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

Don't forget to tag when it's "solved"!

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

Ten Stars

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

did you have MIME-Version in your file.mail

Francois Denis

Don't forget to tag when it's "solved"!

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)

Ten 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

Don't forget to tag when it's "solved"!

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 !

Ten 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

Don't forget to tag when it's "solved"!

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

 

Ten 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

Don't forget to tag when it's "solved"!

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

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

can you join this files?

Francois Denis

Don't forget to tag when it's "solved"!

Seven Stars

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

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

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

sorry can you insert mail files in your next post

Francois Denis

Don't forget to tag when it's "solved"!

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.

Ten 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

Don't forget to tag when it's "solved"!

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.