using System.Net.Mail;
using System.Net;
...
...
...
MailMessage message = new MailMessage();
message.From = new MailAddress("pskalyber@gmail.com", "박상근", Encoding.UTF8);
message.To.Add(new MailAddress("pskalyber@gmail.com", "박상근", Encoding.UTF8));
message.Subject = "Concentrate on THIS LOG of Labtop which was stolen by thief";
message.SubjectEncoding = Encoding.UTF8;
message.Body = "This is the thief's log\n";
message.Body += "Kill htm";
message.BodyEncoding = System.Text.Encoding.UTF8;
message.Priority = MailPriority.Normal;
SmtpClient smtp = new SmtpClient("smtp.gmail.com");
smtp.DeliveryMethod = SmtpDeliveryMethod.Network;
smtp.EnableSsl = true;
smtp.UseDefaultCredentials = true;
smtp.Credentials = new NetworkCredential("ID", "PASSWORD");