I want to use an Execute SQL Task to load an email address list from a table
and use the variable in the TO field in the Send Mail Task. Got the list
into a variable okay, but can't figure out how to make it work as the TO in
Send Mail.
The way I am doing it is to leave the TO field blank and map the ToLine to the variable (available to the package) in the expressions tab of the send mail task. But I get the error:
Error at Send Mail Task [Send Mail Task]: No recipient is specified.
How can I make this work?
Thanks!