How Can i Send Mail Through Exchange Server by using SMTP
问题 I want to Run Below code without NetworkCredential nc = new Net.NetworkCredential("USERNAME", "PASSWORD"). BY using Only Exchange Host (Server Name) And Port Im Getting Error For this code : Mailbox unavailable. The server response was: 5.7.1 Client does not have permissions to send as this sender protected void SendEmail(object sender, EventArgs e) { SmtpClient smtpClient = new SmtpClient("ExchangeServerName",25); MailMessage message = new MailMessage(); try { MailAddress fromAddress = new