Enable SSL based SMTP Server

Topics: Developer Forum, Localization Forum, Project Management Forum, User Forum
Mar 7, 2008 at 3:14 PM
Edited Mar 7, 2008 at 3:14 PM
well done work - many thanks we will use it as basic for our project which is available also on codeplex: indeXus.Net Shared Cache

one small request i have, due the usage of gmail as mail server we need to have the ability to send as SSL connections. Its a small change but It would be great
if you could take it into your changes.

All needed is here:
ContactForm.ascx -> Line 91
SmtpClient client = new SmtpClient(_website.SmtpServer);
client.EnableSsl = true;
client.Port = 465;
if you could add an additional text box to enter the port and a checkbox to enable or disable the ssl stuff in the admin section then everything would be perfect.

many thanks.
Jun 15, 2008 at 4:12 PM
It still does not work with gmail in my case .. Do you host your MWPSK on google servers?

I get the following error (after setting up ssl with port 465 etc):

Exception Details: System.Net.Mail.SmtpException: The operation has timed out.

Both on lokal VS development server as also on production server (dotnethost.at)