Page 1 of 1

Email List vs File List

Posted: Fri May 22, 2015 3:40 pm
by bmuller
I have a Project which I have created the frame work for where, I am Retrieving Emails, downloading the attachments, and converting them from xlsx to csv. Upon successful conversion from xlsx to csv, I want to send an email to the original sender of the attachment.

However, as the processing of the attachment requires the use of a file list to process seperately using a for-each loop, i am unable to use the email list to connect the two together. Any ideas. I have attached the project accordingly.

Re: Email List vs File List

Posted: Thu May 28, 2015 8:33 am
by Support_Julie
The file list ${current.email:attachments} contains all of your files that you need to process.
Right click on the second For-each-loop, Edit, Cut. Then edit past into the first For-each loop.
This will allow you to reference the sender.

The Items Variable that you loop thru will be ${current.email:attachments}. The file list that you had created is no longer needed.

For additional information on variables that can be used with email, in the online help search on email lists.
PCARD2.xml
revisions to your projet
(2.62 KiB) Downloaded 827 times