Using SMTP client of .net in proxy connections to send email
-
Hi experts, The easiest way to send email .net for smtp clients is using System.Net.Mail Smtpclient. But I would like to send it through ma proxy server which has IP as 192.168.0.1. Is there any way in .net. Please let me know how I will be able to send emails from proxy. I have found lot of apps which provide the mechanism to do so. But I don't like to purchase like to make my own. Thanks & Best Regards Jay Khatri
-
Hi experts, The easiest way to send email .net for smtp clients is using System.Net.Mail Smtpclient. But I would like to send it through ma proxy server which has IP as 192.168.0.1. Is there any way in .net. Please let me know how I will be able to send emails from proxy. I have found lot of apps which provide the mechanism to do so. But I don't like to purchase like to make my own. Thanks & Best Regards Jay Khatri
The SMTPClient class does not support using a proxy. You'll either have to write your own implementation of SMTPClient that does support it, or find a 3rd party library that does.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008
But no longer in 2009...