hiteksoftware.com Forum Index hiteksoftware.com
User discussion forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Parsing variables in email body

 
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Frequently Asked Questions
View previous topic :: View next topic  
Author Message
csteenbock



Joined: 14 Oct 2009
Posts: 9

PostPosted: Thu Nov 10, 2011 8:22 am    Post subject: Parsing variables in email body Reply with quote

Is it possible to parse a variable within the body of an email?
I have a file monitor task that runs an email task if it finds any files. I want the email to contain a list of the files found. I am using $%TaskTitle::Filenames%$ and that is returning all of the filenames separated by #^ on a single line. Can I parse this out and replace with a newline?

Thanks,
Chase
Back to top
View user's profile Send private message
Robert
Site Admin


Joined: 25 May 2006
Posts: 1140

PostPosted: Thu Nov 10, 2011 8:41 pm    Post subject: Reply with quote

You can use the 'Filenames To Array' task in V9. (under arrays folder)

This will put the filenames one per line in an array file. Then call the array variable in your email body. $%ARRAYNAME::ALLROWS%$
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Frequently Asked Questions All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group