SSL email support

This forum is for programmers who have questions about the source code.
Post Reply
richardwaite
Posts: 57
Joined: Thu Nov 15, 2007 6:51 am

SSL email support

Post by richardwaite » Tue Feb 19, 2008 7:35 am

The System.Net.Mail.SmtpClient class provides a bool EnableSsl property which, when enabled, allows you to connect to SSL/TLS SMTP servers like Gmail's. A lot of servers now seem to be making SSL mandatory.

I tried it on my end by simply setting it to true and it seemed to work correctly. I'd like to add a checkbox in the E-mail setup interface to enable ssl, but I'm not too familiar with your coding practices - would this be possible for someone to add?

User avatar
jordansparks
Site Admin
Posts: 5744
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Post by jordansparks » Tue Feb 19, 2008 7:38 am

Good call. I will add that right now to the window. Should take about five minutes.
Jordan Sparks, DMD
http://www.opendental.com

richardwaite
Posts: 57
Joined: Thu Nov 15, 2007 6:51 am

Post by richardwaite » Tue Feb 19, 2008 7:40 am

Thanks, I'm looking forward to it!

User avatar
jordansparks
Site Admin
Posts: 5744
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Post by jordansparks » Tue Feb 19, 2008 8:54 am

Added to 5.6 and tested. Thanks again for the hint.
Jordan Sparks, DMD
http://www.opendental.com

Post Reply