Frage

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?

War es hilfreich?

Lösung

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");
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top