SMTP server without using default port(587)
<pre><code>SmtpClient emailClient = new SmtpClient(MailServer);
System.Net.NetworkCredential SMTPUserInfo = new System.Net.NetworkCredential(sender_mail_id(organisation mail id), pwd);
emailClient.UseDefaultCredentials = false;
emailClient.Credentials = SMTPUserInfo;

emailClient.Port = 587;
emailClient.Send(msg);
</code></pre>

<p>Above code for sending mail is working. I would like to configure my own port (my outlook outgoing server port) ie instead of 587. How to do that? (My organisation outlook id is attached with yahoo id)</p>
