Virtual Root
Kıdemli Üye
- 8 Haz 2008
- 3,488
- 5
MailMessage msg = new MailMessage();
msg.To = "[email protected]"; // Kime
msg.From = "[email protected]; // Kimden
msg.Subject = "E-Posta Konusu"; // Konu
msg.Body = "E-Posta Metni"; // Mesja
msg.IsBodyHtml = false; // HTML formatı (true / false)
SmtpClient smtp = new SmtpClient();
smtp.Host = "mail.site.com"; // SMTP adresi
smtp.Send(msg);
msg.To = "[email protected]"; // Kime
msg.From = "[email protected]; // Kimden
msg.Subject = "E-Posta Konusu"; // Konu
msg.Body = "E-Posta Metni"; // Mesja
msg.IsBodyHtml = false; // HTML formatı (true / false)
SmtpClient smtp = new SmtpClient();
smtp.Host = "mail.site.com"; // SMTP adresi
smtp.Send(msg);