Azra
Bronze Üye
-
- Katılım
- 11 Mart 2014
-
- Mesajlar
- 3.834
-
- Tepkime puanı
- 13
-
- ForumSAL Yaşı:
- 12 yıl 7 ay
- Kıdem:
- Forumun Eskisi
-
- Yaş
- 35
Kod:
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);