Thread thread = new Thread(new ThreadStart(handler.Send));
thread.Start();
public class MailHandler
{
private string title;
private string author;
private string content;
private string date;
public MailHandler(string title, string author, string content, string date)
{
this.title = title;
this.author = author;
this.content = content;
this.date = date;
}
public void Send()
{
SendMail("huangjie@artmctc.com", author, title, content, date);
SendMail("zhenshen@artmctc.com", author, title, content, date);
}
}