In this article we created a generic ASP.NET SendMail function – which I thought should fit most scenarios. I.e authentication/no authentication, localhost/remote host etc.
However, one thing the function can’t do is SSL authentication. Lets add that:
public static void SendMail(string sHost, int nPort, string sUserName, string sPassword, string sFromName, string sFromEmail,
[...]
