I want to send myself email of exceptions that are caught in my app when it is "in the wild."
I found a simple way to accomplish the programmatic sending of email using K.R.R.'s answer here, but it requires the adding of credentials like so:
SmtpServer.Port = 587;
SmtpServer.Credentials = new System.Net.NetworkCredential("neversaynunca@gmail.com", "cuddlyPlatypi");
Is there a way I can do this without revealing my password this way (I know that code can be rather easily snooped into to find such)?