Page 1 of 1

Variables in emails

PostPosted: Thu May 07, 2015 3:14 am
by aferors
When using the emailing command in WD is there a way to insert a variable in the text that is sent in the emails contents?

I have tried just writing the variables name in the emailing text field but it just comes through as the variable's title rather than the variable's actual content.

Also FYI Im trying to do this in conjunction with other text

EmailSend,emailing@tc.com.au,the show at site sitecode has started,The Show at sitecode has started.


the varible is "sitecode"

many thanks

Re: Variables in emails

PostPosted: Thu May 07, 2015 3:28 pm
by Daniel Kaminski
Hi,

never tried it. May not work at all, but if it works it will only work as a single variable right after the ","
You would have to combine the text first into a variable and than use that variable as into to the email.

Daniel

Re: Variables in emails

PostPosted: Fri May 08, 2015 2:02 am
by aferors
Ok that makes sense. Thanks for the response.

Is there any known way to instert a variable's content into any passage of text beit in a text box or field mixed with other text?
Then that whole text could be put into the var then into the email.
Many thanks

Re: Variables in emails

PostPosted: Fri May 08, 2015 12:42 pm
by Dennis Kuypers
Hi,

The "classic" way is to concatenate your text in a variable like this (assuming _tmp is a string variable that was set up before):

VValue,_tmp,The show at site
VAdd,_tmp,_tmp,sitecode
VAdd,_tmp,_tmp, has started.

If you ever have trouble using a comma in this procedure create another variable in the Variable editor and make it's content ","


Regards
Dennis

Re: Variables in emails

PostPosted: Thu May 14, 2015 2:13 am
by aferors
Thanks heaps for that.

I ended up stumbling across the text combiner node. A bit of text then a var then more text. sent to another var then into the email.
Around 80 nodes later and its all a happening.

Cheers