Does System.Net.Mail SmtpClient support smtp server with httpS or it work only with smtp servers with http?
I mean if i pass "https//:mysmtpserver" to constructor od SmtpClient instance - it would work?
Does System.Net.Mail SmtpClient support smtp server with httpS or it work only with smtp servers with http?
I mean if i pass "https//:mysmtpserver" to constructor od SmtpClient instance - it would work?
SmtpClientworks with SSL, yes. You need to provide it as a property like this:(taken from this article How to send emails from C#/.NET - The definitive tutorial)