Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to import IMAP emails into MySQL tables

Need to connect to IMAP server and read in emails (selecting on fields in the email headers) and insert email contents into 3 tables in a MySQL db.
Any suggestion on how to get started on this - or, is there a demo project available, which reads mail from IMAP, and inserts into multiple MySQL tables.
Labels (2)
1 Reply
Anonymous
Not applicable
Author

Hi,
You can use the tPOP component to download the e-mails as files, it works for POP3 and IMAP. The contents of the e-mails can be processed using the tFileInputMail to extract the fields from the e-mails, see:
https://help.talend.com/search/all?query=tFileInputMail&content-lang=en
The idea might be this:
tPOP --iterate--> tFileInputMail --main--> further processing/filtering --main--> to DB
You can consult the help function, to view scenarios (press F1 on a component)
I hope this gets you started.