1

My attempts to send emails using System.Net.Mail work fine, until I switch the port and server accordingly for SSL, and set SslEnabled to true; once I do that, the Send times out.

Does SSL work with System.Net.Mail, and if so, what must be done differently other than setting the port and server and the SslEnabled property?

Tim
  • 8,669
  • 31
  • 105
  • 183

1 Answers1

0

I had similar problem recently. Turned out that port used for SSL was somehow blocked by a firewall in my company. After talking to IT department, I managed to get it unblocked, and everything started working.

Also, if you happen to use Gmail, take a look at this thread, there are many suggestions which might help you - you may experience more than one problem at a time.

Community
  • 1
  • 1
pmbanka
  • 1,902
  • 17
  • 24