Email List vs File List

Post any question you may have in regards to GoAnywhere Director and let our talented support staff and other users assist you.
2 posts Page 1 of 1

bmuller

Posts: 2
Joined: Wed May 20, 2015 2:42 pm

Post by bmuller » Fri May 22, 2015 3:40 pm
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.
Attachments
file_conversion.xml
(2.89 KiB) Downloaded 798 times

Support_Julie

User avatar
Support Specialist
Posts: 91
Joined: Thu Mar 05, 2009 3:49 pm
Location: Ashland, NE USA

Post by Support_Julie » Thu May 28, 2015 8:33 am
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 812 times
Julie Rosenbaum
Sr Support Analyst
e. [email protected]
p. 1.800.949.4696
w. HelpSystems.com
2 posts Page 1 of 1