Hi ALL,
Now i;m working with automatic mail sending for user login onapplication for vb.net windows application ,my client using Microsoft Exchange server for internal mail communication , so my Simple Questing how to send email message to exchange server and which library i will import ? other want property i have set for sending mail functions (eg:servername or domain name)

Amit GuptaRank #190 · 12.8K reputationPosted Nov 8, 2016, 12:14 PM EST
try { SmtpClient client = new SmtpClient { Host = "", Port = 25, EnableSsl = true, DeliveryMethod = SmtpDeliveryMethod.Network, Credentials = new System.Net.NetworkCredential(your_id, your_password), Timeout = 10000, };