Domanda

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?

È stato utile?

Soluzione

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");
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top