IMAP Email attachments are not able load to mongodb
Hi All,
Am loading data from IMAP folder to Mongodb using component as ( tPOP-->tFileInputMail-->MongodbOutput ). I can load all the Mail Part column likes From, To, Subject and Body column.
But, the email attachements are not able to load to output to mongodb or tlogrow. Please find attached screenshot for reference.
Is it possible attachments files can load to output (or) Am i did any mistake for loading attachments? Am using Talend BD 5.6 version.
Thanks,
Regards,
Srinivasan
Hi Srinivasan, Have you already used ((String)globalMap.get("tPOP_1_CURRENT_FILEPATH")) for the file name in tInputmail component? How did you set "Mail parts" in Basic settings of tFileInputMail? Column Mail part SUBJECT SUBJECT ATTACHMENT ATTACHMENT ?
Thanks for the response. Yes. I have used ((String)globalMap.get("tPOP_2_CURRENT_FILEPATH")) for the file name. still dont get the attachments email to the outputs. The Column and Mail Parts used as below: Column Mail Parts subject "subject" attachment "attachment" Thanks,
Hi Team,
The email attachment files cant load to Mongodb/Oracle? the tfileinputmail component Column/Mail Part : email attachment alone is not working.
Is there any other way to load email attachments load to mongodb?
Thanks,
Hi xdshi
The Tlogrow component also can see the attachment as empty. Please find attached screenshot for reference. Please help to let me know if am wrong anywhere.
Hi Srinivasan S, How did you set your schema in tFileInputMail? Are you sure that you got the email with attachment? What's kind of attachment? Best regards Sabrina
Hi Sabrina,
I have set schema as 'String" for attachment column. i dont think the tfileinputmail wont send attachments to output log row .
I can see the tpop component output directory file below logs for attachment file.
--_Next_Part_1381127745
Content-Type: text/plain
Content-Disposition: attachment;
filename=s_EQIX_ORA_ODS_Param_File_Generate_1381127745.log
Content-Description: s_EQIX_ORA_ODS_Param_File_Generate_1381127745.log
Please let me know how to get email attachments in the tfileinputmail component to output logrow.
Hi Sabrina, Do you have any sample jobs for loading attachments files too? Still am facing not able to load email attachments files from TFileInputMail components to logrow output .Please help on this. Attachments files are just text file only. Thanks, Regards, Srinivasan S