You must Sign In to post a response.
  • Category: .NET Sending Email using Exchange Server

    How to Sending Email using Exchange Server in VB.Net
  • #769129

    We can perform this Email sending through Exchange server by many ways, one of the easiest way to perform is using the System.Net.Mail.SmtpClient.

    Please check the below website, where they provide line by line details to perform this mail sending operation using Exchange server in VB.Net.



  • #769146
    This is an example to Sending Email using Exchange Server
    System.Net.Mail.SmtpClient client = new System.Net.Mail.SmtpClient("mydomainserver");
    client.Credentials = new System.Net.NetworkCredential("userid", "password", "domain");
    System.Net.Mail.MailMessage mail = new System.Net.Mail.MailMessage();
    mail.From = new System.Net.Mail.MailAddress("");
    mail.Subject = "Yoursubject";
    mail.IsBodyHtml = true;
    mail.Body = "test Emailbody";

  • Sign In to post your comments