I have a search that uses the values in temp.csv file to generate an email for each row with specific values.
Let's say the csv looks like this
field1, field2
john doe, blah
bob smith, stuff
The search looks like this (quotes within the subsearch are escaped, just not showing here):
| inputlookup temp.csv | map search="| sendemail to=$field2$ subject=\"subject line\"
[email protected] message=\"test test $field1$ test test \""
My problem is that when the field value (field1 in the search above) contains a space it stops populating the email after the space and sends it as is. It doesn't seem to have an issue with spaces in text specified at search time.
... View more