Hi all,
I'm working on a MVC3 application. I need to send in some cases the same email to several users. What's the best way to do that?
I want that when the same message is sent to more users, every user see his address on the "to" field, but he shouldn't see others email
addresses? In my actual implementation I create a message for every user, but I think that's not really smart.
If I add the addresses in the "bcc" fields, how can I set every time correctly the "to" field avoiding to send duplicate messages?
I also tried this
foreach (Customer customer in customers)
{
message.To.Add(new MailAddress(customer.Email));
}
but obviously it separates with a comma the addresses and so them are all visible.
Thanks in advance!
...
Go to the complete details ...