<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Custom File Processing? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Custom-File-Processing/m-p/2366031#M129567</link>
    <description>You can post 1 test email file, will be more easy to test</description>
    <pubDate>Wed, 26 Oct 2016 05:55:15 GMT</pubDate>
    <dc:creator>vapukov</dc:creator>
    <dc:date>2016-10-26T05:55:15Z</dc:date>
    <item>
      <title>Custom File Processing?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Custom-File-Processing/m-p/2366024#M129560</link>
      <description>&lt;P&gt;I need to download and process bounced email messages. Here is what I have so far. I have a pop component that downloads all emails to a folder. Then I setup a new process to trigger when pop completes. This new process iterates the files with .mail extension. And this is where I run into issues. I need the Status code from the email file and the email address that the message was being sent to. The mail input file component seems to be very limited when it comes to what data it can extract from mail files. My thought was to use a custom parser to process each mail file and extract the values I need. This is where I'm lost and need some direction. Am I not using the mail file input component right? How do you import and process a folder of custom files? I tried using regex, but i don't understand how to process a group of files in a folder.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2016 14:05:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Custom-File-Processing/m-p/2366024#M129560</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-24T14:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: Custom File Processing?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Custom-File-Processing/m-p/2366025#M129561</link>
      <description>If You question just about process folder - it is tFileList 
&lt;BR /&gt;in Your component You could use - ((String)globalMap.get("tFileList_1_CURRENT_FILEPATH")) as filename 
&lt;BR /&gt;at least email address You can extract easy by tFileInputMail, not clean - what You mean for Status code</description>
      <pubDate>Mon, 24 Oct 2016 15:15:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Custom-File-Processing/m-p/2366025#M129561</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2016-10-24T15:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: Custom File Processing?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Custom-File-Processing/m-p/2366026#M129562</link>
      <description>Filelist is what I'm using. It's more about the mail file itself. I can't get the fields I want out of it. A mail file has many more attributes in it then the mail file input will extract. How can I get to them all? I guess I just want to extract values from a whole file. I would like to extract a two column row, with email and error code.</description>
      <pubDate>Mon, 24 Oct 2016 15:45:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Custom-File-Processing/m-p/2366026#M129562</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-24T15:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: Custom File Processing?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Custom-File-Processing/m-p/2366027#M129563</link>
      <description>&lt;BLOCKQUOTE&gt;rizenine wrote:&lt;BR /&gt;&amp;nbsp;I would like to extract a two column row, with email and error code.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;What You mean - error code?&lt;BR /&gt;at least email (From and To) - easy extracted by native tFileInputMail&lt;BR /&gt;what parts of email (how it look in email header?) You try to extract?</description>
      <pubDate>Tue, 25 Oct 2016 01:26:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Custom-File-Processing/m-p/2366027#M129563</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2016-10-25T01:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Custom File Processing?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Custom-File-Processing/m-p/2366028#M129564</link>
      <description>Error code is just an attribute in the file. Status code is what it's called. I just want to check that an email was 5.0.0 error so I know to mark it invalid. Then I need the original email address to look it up and mark it.&amp;nbsp;
&lt;BR /&gt;
&lt;BR /&gt;I have an email file full of the below style information. Just need to grab two of them. The&amp;nbsp;Final-Recipient and&amp;nbsp;Status.
&lt;BR /&gt;Final-Recipient: rfc822; someemailaddress@yahoo.com
&lt;BR /&gt;Original-Recipient: rfc822;someemailaddress@yahoo.com
&lt;BR /&gt;Action: failed
&lt;BR /&gt;Status: 5.0.0</description>
      <pubDate>Tue, 25 Oct 2016 17:30:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Custom-File-Processing/m-p/2366028#M129564</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-25T17:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: Custom File Processing?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Custom-File-Processing/m-p/2366029#M129565</link>
      <description>I not have Status in my emails, so I just add Status: 5.0.0 manually for 1 email 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MFtl.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144444i8922B64D72203846/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MFtl.png" alt="0683p000009MFtl.png" /&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MFnU.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137390i9481F581D15B0544/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MFnU.png" alt="0683p000009MFnU.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Tue, 25 Oct 2016 22:18:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Custom-File-Processing/m-p/2366029#M129565</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2016-10-25T22:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: Custom File Processing?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Custom-File-Processing/m-p/2366030#M129566</link>
      <description>There must be something with the format of these email files. I have status field and did the exact thing you did here, and it's not pulling it. I did end up just using a raw file input. Convert to string. Then chain together two regex units to get the two values I needed out. That seems to work, but I'm still not sure why the email files come down in a non-standard format. It's a Lotus Notes email server, so I'm sure that's the issue. It's always an issue.&amp;nbsp; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Wed, 26 Oct 2016 00:58:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Custom-File-Processing/m-p/2366030#M129566</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-26T00:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: Custom File Processing?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Custom-File-Processing/m-p/2366031#M129567</link>
      <description>You can post 1 test email file, will be more easy to test</description>
      <pubDate>Wed, 26 Oct 2016 05:55:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Custom-File-Processing/m-p/2366031#M129567</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2016-10-26T05:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: Custom File Processing?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Custom-File-Processing/m-p/2366032#M129568</link>
      <description>It does seem to work using regex. But here's the sample mail file. thanks.&lt;BR /&gt;20161026-114836_1.mail.txt.txt</description>
      <pubDate>Wed, 26 Oct 2016 16:56:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Custom-File-Processing/m-p/2366032#M129568</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-26T16:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: Custom File Processing?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Custom-File-Processing/m-p/2366033#M129569</link>
      <description>nothing &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Wed, 26 Oct 2016 21:30:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Custom-File-Processing/m-p/2366033#M129569</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2016-10-26T21:30:52Z</dc:date>
    </item>
  </channel>
</rss>

