Horje
Send Hotmail/Outlook Email C# (Win/ASP.NET) Code Example
Send Hotmail/Outlook Email C# (Win/ASP.NET)
SmtpClient SmtpServer = new SmtpClient("smtp.live.com");
var mail = new MailMessage();
mail.From = new MailAddress("youremail@hotmail.com");
mail.To.Add("to@gmail.com");
mail.Subject = "Test Mail - 1";
mail.IsBodyHtml = true;
string htmlBody;
htmlBody = "Write some HTML code here";
mail.Body = htmlBody;
SmtpServer.Port = 587;
SmtpServer.UseDefaultCredentials = false;
SmtpServer.Credentials = new System.Net.NetworkCredential("youremail@hotmail.com", "password");
SmtpServer.EnableSsl = true;
SmtpServer.Send(mail);




Csharp

Related
unity shader blend Code Example unity shader blend Code Example
c# list to string replace last comma with and Code Example c# list to string replace last comma with and Code Example
BindableDynamicDictionary Code Example BindableDynamicDictionary Code Example
The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) Code Example The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) Code Example
button next for picturebox c# Code Example button next for picturebox c# Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
13