Sending mail through http proxy

Salar picture Salar · May 10, 2009 · Viewed 24.1k times · Source

I'm trying to send emails from a system that connects to internet through a http proxy which is set in Internet Options.

i'm using SmtpClient.

Is there any way to send mails with SmtpClient through this proxy setting. Thanks

Answer

AnthonyWJones picture AnthonyWJones · May 10, 2009

Http Proxies control http traffic, they rarely have anything to do with SMTP at all. I've never heard of proxying SMTP before after all SMTP itself is intrinsically supports a chain of "proxies" to the destination SMTP server.