Bypass proxy and send email
<p>I'm trying to send e-mails using the GMail SMTP (smtp.gmail.com), because of the firewall/proxy rules I am not able to send the e-mail. Is there anyway that I can bypass the proxy or wrap it with HTTP or something.</p>

<p>Here's the error message which I'm getting</p>

<pre class="lang-none prettyprint-override"><code>System.Net.WebException: The remote name could not be resolved: 'smtp.gmail.com'   
at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress&amp; address, Socket&amp; abortSocket, Socket&amp; abortSocket6, Int32 timeout)
at System.Net.PooledStream.Activate(Object owningObject, Boolean async, Int32 timeout, GeneralAsyncDelegate asyncCallback)  
at System.Net.PooledStream.Activate(Object owningObject, GeneralAsyncDelegate asyncCallback)  
at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)   
at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)  
at System.Net.Mail.SmtpTransport.GetConnection(ServicePoint servicePoint) 
at System.Net.Mail.SmtpClient.GetConnection()
at System.Net.Mail.SmtpClient.Send(MailMessage message)
</code></pre>
