Like Us
Plus One
Follow Us
Search
 Author René Hézser  Views 833 View Original Article

A rather small change to your code can increase security by sending E-Mails via an encrypted connection. Recently I stumbled across code, that send E-Mails with the System.Net.Mail.SmtpClient class. That piece of code did not try to communicated encrypted with the receiving SMTP server. So I changed that, to enable a TLS connection.try { var message = new MailMessage(); _smtpClient.EnableSsl = true; _smtpClient.Send(message); } catch (SmtpException ex) { // if the recpient mailserver do…
View Original Article

Recent Articles from René Hézser's Blog

Date Articles Visits
2016-Jul-04 TLS with SharePoint 829     
2016-Mar-15 Widgets instead of Add-Ins/Apps? 832     
2015-Nov-18 Change in the User Resolution in SharePoint 2013 People Picker 864     
2015-Aug-25 Treffen der SharePoint UserGroup OWL 872     
2015-Jul-20 Visual Studio 2015 836     
2015-Jul-20 SharePoint 2016 beta in August 974     
2015-May-13 Fix “Access Denied” on Registry and Filesystem 944     
2015-May-05 Need users in your dev environment? 855     
2015-Apr-30 Create the default groups via PowerShell 924     
2015-Apr-23 Update to the SharePoint Solution Deployer 981