<?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 Save and Rename mail attachments in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Save-and-Rename-mail-attachments/m-p/2298734#M71159</link>
    <description>Hi.&lt;BR /&gt;I need to download and rename mail attachments.&lt;BR /&gt;I'm daily receiving an email whose subjects contain the date while the attachment name is always the same.&lt;BR /&gt;I need to save the attachment and RENAME it with the mail subject.&lt;BR /&gt;Please help.&lt;BR /&gt;Many thanks, in advance,&lt;BR /&gt;Andrea</description>
    <pubDate>Sat, 16 Nov 2024 12:25:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T12:25:29Z</dc:date>
    <item>
      <title>Save and Rename mail attachments</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Save-and-Rename-mail-attachments/m-p/2298734#M71159</link>
      <description>Hi.&lt;BR /&gt;I need to download and rename mail attachments.&lt;BR /&gt;I'm daily receiving an email whose subjects contain the date while the attachment name is always the same.&lt;BR /&gt;I need to save the attachment and RENAME it with the mail subject.&lt;BR /&gt;Please help.&lt;BR /&gt;Many thanks, in advance,&lt;BR /&gt;Andrea</description>
      <pubDate>Sat, 16 Nov 2024 12:25:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Save-and-Rename-mail-attachments/m-p/2298734#M71159</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: Save and Rename mail attachments</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Save-and-Rename-mail-attachments/m-p/2298735#M71160</link>
      <description>Hi Andrea&lt;BR /&gt;You can use tPOP component to fetch mail, use tFileInputMail to export attachments.&lt;BR /&gt;Then use tFileCopy to rename attachments.&lt;BR /&gt;Best regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Sun, 29 Jan 2012 03:47:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Save-and-Rename-mail-attachments/m-p/2298735#M71160</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-01-29T03:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Save and Rename mail attachments</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Save-and-Rename-mail-attachments/m-p/2298736#M71161</link>
      <description>Hi Pedro.&lt;BR /&gt;Thanks for your answer ....&lt;BR /&gt;Just a couple of questions:&lt;BR /&gt;1) using the tInputMail I've the problem that it overwrites the attachments file if I'm gettingm ore than one un-read email ...&lt;BR /&gt;a possibile workaround is to extract only one email anceh then using a LOOP to downaload all the emails...any other ideas ?&lt;BR /&gt;2) using the tFileCopy, how can I pass to it the email subject to compose the new attachment name ? (sorry but I'm very new using Talend)&lt;BR /&gt;Thanks,&lt;BR /&gt;Andrea</description>
      <pubDate>Mon, 30 Jan 2012 07:52:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Save-and-Rename-mail-attachments/m-p/2298736#M71161</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-01-30T07:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: Save and Rename mail attachments</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Save-and-Rename-mail-attachments/m-p/2298737#M71162</link>
      <description>Hi Andrea&lt;BR /&gt;1)&lt;BR /&gt;You can set "Attachment export directory" of tFileInputMail like this to avoid overwriting.&lt;BR /&gt;&lt;PRE&gt;"E:/Attachment/"+context.sequence+"/"                   //context.sequence will be increased by tJava(context.sequence++)&lt;/PRE&gt;&lt;BR /&gt;Export each attachment into an unique directory.&lt;BR /&gt;2) You can set "Mail parts" of tFileInputMail as follows. Then extract this field into a variable.&lt;BR /&gt;&lt;PRE&gt;Column   Mail part&lt;BR /&gt;Object     "Subject"&lt;/PRE&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Mon, 30 Jan 2012 08:21:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Save-and-Rename-mail-attachments/m-p/2298737#M71162</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-01-30T08:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: Save and Rename mail attachments</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Save-and-Rename-mail-attachments/m-p/2298738#M71163</link>
      <description>1) You can set "Attachment export directory" of tFileInputMail like this to avoid overwriting.&lt;BR /&gt;&lt;PRE&gt;"E:/Attachment/"+context.sequence+"/"                   //context.sequence will be increased by tJava(context.sequence++)&lt;/PRE&gt;&lt;BR /&gt;Ok, I'm going to try this ... but I'll nedd a way to give the exact name (related to the subject) to the proper directory attachment ...&lt;BR /&gt;2) You can set "Mail parts" of tFileInputMail as follows. Then extract this field into a variable.&lt;BR /&gt;&lt;PRE&gt;Column   Mail part&lt;BR /&gt;Object     "Subject"&lt;/PRE&gt;&lt;BR /&gt;I did it .. I'm writing a csv file with the sender and subject of the downloaded emails ...&lt;BR /&gt;My problem is to pass the subject to che tCOPY.&lt;BR /&gt;Thanks,&lt;BR /&gt;Andrea</description>
      <pubDate>Mon, 30 Jan 2012 09:05:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Save-and-Rename-mail-attachments/m-p/2298738#M71163</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-01-30T09:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: Save and Rename mail attachments</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Save-and-Rename-mail-attachments/m-p/2298739#M71164</link>
      <description>Hi Andrea&lt;BR /&gt;To pass the subject to tCopy.&lt;BR /&gt;You can create job as the following images with the csv file.&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Mon, 30 Jan 2012 09:10:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Save-and-Rename-mail-attachments/m-p/2298739#M71164</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-01-30T09:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: Save and Rename mail attachments</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Save-and-Rename-mail-attachments/m-p/2298740#M71165</link>
      <description>It works !&lt;BR /&gt;Many many thanks</description>
      <pubDate>Mon, 30 Jan 2012 09:44:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Save-and-Rename-mail-attachments/m-p/2298740#M71165</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-01-30T09:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: Save and Rename mail attachments</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Save-and-Rename-mail-attachments/m-p/2298741#M71166</link>
      <description>Just another question ... is it possible to get the attachment name ?&lt;BR /&gt;Andrea</description>
      <pubDate>Mon, 30 Jan 2012 13:26:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Save-and-Rename-mail-attachments/m-p/2298741#M71166</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-01-30T13:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: Save and Rename mail attachments</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Save-and-Rename-mail-attachments/m-p/2298742#M71167</link>
      <description>Hi
&lt;BR /&gt;No. It's impossible to get the attachment name directly now.
&lt;BR /&gt;Regards,
&lt;BR /&gt;Pedro</description>
      <pubDate>Tue, 31 Jan 2012 01:29:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Save-and-Rename-mail-attachments/m-p/2298742#M71167</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-01-31T01:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: Save and Rename mail attachments</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Save-and-Rename-mail-attachments/m-p/2298743#M71168</link>
      <description>Hi, can you please explain exactly, how I can detach the attachments with tInputMail? 
&lt;BR /&gt;The original filename is in my case in the subject ...</description>
      <pubDate>Fri, 04 May 2012 13:47:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Save-and-Rename-mail-attachments/m-p/2298743#M71168</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-04T13:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Save and Rename mail attachments</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Save-and-Rename-mail-attachments/m-p/2298744#M71169</link>
      <description>Hi St_germain&lt;BR /&gt;tFileInputMail can detach attachments automatically if you offer correct path for "Attachment export directory".&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Mon, 07 May 2012 03:30:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Save-and-Rename-mail-attachments/m-p/2298744#M71169</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-07T03:30:19Z</dc:date>
    </item>
  </channel>
</rss>

