They were using the Send Mail Task and it worked fine on local
machines but when it got pushed to our development environment, it
would fail with "The parameter 'address' cannot be an empty string.
Parameter name: address"
The difference between the two environments was the configured
parameters. Locally it was firstname.lastname@example.org, in production it
will look like "distributionGroup1@domain.com;
distributionGroup2@domain.com" For the Dev configuration, they
sheared off the distributionGroup2@domain.com but left the trailing
semicolon intact. When the Send Mail Task fires, I assume it's doing
something as simple as toAddressLine.Split(';') to generate the list
of addresses from the input line. That kicks back an array with two
rows of data and then boom, no more execution.
So, a simple problem with a simple solution but it may save someone a
few minutes of debugging by seeing this post.