отправка типа того:
public static string Send(string From, string To, string Subject, string Message, bool isHTML, string path)
{
string ret = string.Empty;
string smtpServer = string.Empty;
smtpServer = "smtp.********";
SmtpClient client = new SmtpClient(smtpServer);
string smtpLogin = string.Empty;
smtpLogin = From;
if (string.IsNullOrEmpty(From))
From = smtpLogin;
string smtpPassword = string.Empty;
smtpPassword = "*******";
client.Credentials = new NetworkCredential(smtpLogin, smtpPassword);
MailMessage mm = new MailMessage(From, To, Subject, Message);
mm.Attachments.Add(new Attachment(path));
mm.IsBodyHtml = isHTML;
client.Send(mm);
return ret;
}