When I have done this before I sent a sepparate email to each person. Here is some C# code in .net 2.0 assuming you have a comma delimited list in your config file.
MailAddress to = null;
bool ret = false;
if (p_to.IndexOf(",") != -1)
{
string[] addrs = p_to.Split(',');
for (int i = 0; i < addrs.Length; i++)
{
to = new MailAddress(addrs[i]);
ret = SendEmail(to, null, null, p_subject, p_body);
if (!ret)
{
return ret;
}
}//for
return ret;
}
else
{
to = new MailAddress(p_to);
return SendEmail(to, null, null, p_subject, p_body);
}
<\pre>
The SendEmail method just wraps the smtp sendmail function.
Hope that helps.
Ben