johnf

how to replace @VARIABLE in text file with value of Emails in xml file

2 posts in this topic

How i can read this xml file

<Subs><Sub Report="BusinessSummarySubs" EMails="lalla@yahoo.com; haha@yahoo.com"><Sub Report="PlayerSubs" EMails="hehe@hotmail.com"></Subs>

and replace @VARIABLE in BusinesSummarySubs.txt with EMails value in

Here is the content(part of the content) from BusinessSumarySubs.txt

CType(extensionParams(0),ParameterValue).Name = "TO"CType(extensionParams(0),ParameterValue).Label = ""CType(extensionParams(0),ParameterValue).Value = "@VARIABLE"

Share this post


Link to post
Share on other sites

You'll need to read the XML file first, get the attributes you're looking for, and then set up the email with those values.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now