Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
JHofman1600097184
Contributor
Contributor

How to retrieve data + attachment from email and insert into Database

Hi!

For a project, I am trying to retrieve attachments and metadata from emails and insert them into a database.

For each email that i retrieve, a row in the database should be added with the following columns

: SendFrom, SendTo, Subject, Attachment.

I managed to retrieve the attachment and some metadata using:0693p000009T24fAAC.jpg

All the attachments and emails now get saved in a folder on my root directory, but i would like this data to be inserted into a database as described above...

Can anybody put me in the right direction?

Labels (2)
1 Reply
Anonymous
Not applicable

Hello,

You can extract some key standard fields, such as, Subject, Date, From, Attachment, Received and then load the values into your DB.

The work flow looks like: tfileinputmail-->tDBOutput

Here is a related scenario: TalendHelpCenter: Extracting key fields from an email

Let us know if it works.

Best regards

Sabrina