Easy Way to send mail through ASP.Net & C#.Net
You can use the following code to send mail.
using System.Net.Mail;
using System.Configuration;
public int SendMessage(string subject, string messageBody,string fromAddress, string toAddress)
{
MailMessage message = new MailMessage();
message.IsBodyHtml = true;
SmtpClient client = new SmtpClient();
message.From = new MailAddress(fromAddress.ToString ());
if (toAddress.Trim().Length > 0)
{
foreach (string addr in toAddress.Split(';'))//you can use any delimiter
{
message.To.Add(new MailAddress(addr));
}
}
message.Subject = subject;
message.Body = messageBody;
client.Host = "SMTPServerName";
client.Send(message);
return 1;
}
You can send message with this code.

Follow
There is no need to separate the mail address. Just pass the mail address separated by ;