I have a list of mail ids in a file. I need to send mail to all in that list.
I'm using tfileinputdelimited >> tflowtoiterate >> tsendmail
In tsendmail I'm mentioning as ((String)globalMap.get(row1.value)) on the field To
I'm getting java.lang.NullPointerException error. Please help
Could you please advise whether all the email ids are in single row or are they located as multiple rows in the file? If you have email ids as multiple rows, you may have to first merge them to single row and then send it to email component. If you could share some sample input records and expected output for those records, we can try to provide some sample solutions.
Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Part 2 of a series on Context Variables
Learn how to do cool things with Context Variables
Read about some useful Context Variable ideas