I have this code here...
MailAddress from = new MailAddress("[email protected]", "IPC Orders");
MailAddress to = new MailAddress("[email protected]");
MailMessage mail = new MailMessage(from, to);
mail.To.Add("[email protected]");
mail.To.Add("[email protected]");
Obviously this is not the full code, but when I try to send an email to multiple email address is doesnt send, if I comment out these two lines...
mail.To.Add("[email protected]");
mail.To.Add("[email protected]");
It works and will send it to the first email MailAddress to = new MailAddress("[email protected]");
Whats wrong with my code