After updating the application is no longer working, I tried a couple things which did not help ERROR:
System.Net.Mail.SmtpException
Win32Exception: The Local Security Authority cannot be contacted
Updating registry as mentioned here... https://stackoverflow.com/a/30479567/3925092
I also tried changing the ports which did not help. Here is the code that was working previously but is not after update
var smtp = new SmtpClient
{
Host = "smtp.gmail.com",
Port = 587,
EnableSsl = true,
DeliveryMethod = SmtpDeliveryMethod.Network,
Credentials = new NetworkCredential(fromAddress.Address, fromPassword),
Timeout = 20000
};