Question

I have a user registration Form. If a new User register their account in that account. I need to send a message a new user has been registered to my company mail-id and also client mail-id. Now i do it for a single mail-id. How can I do it for 2 mail-ids?

Était-ce utile?

La solution

see http://msdn.microsoft.com/en-us/library/system.net.mail.mailmessage.aspx

System.Net.Mail.MailMessage mail = new MailMessage();

mail.To.Add("first address");
mail.To.Add("second address");
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top