I build a C# program, to be run on Windows 10. I want to send emails from this program (calculation results) by just pressing a button. I put the from:
e-mail address and the subject:
, etc. in C# properties, but I do not want to put a clear text password anywhere in the program, AND I don't want the user to have to type in the password for the server each time a mail is sent.
Can that be done?
If so, how (generally)?
I was thinking of putting all that e-mail information, including an encrypted password for the server in a data file to be read during startup of the program.
Or maybe Windows 10 has a facility for that...