Is there any way of sending an email from C# without manually coding my user name and password using Gmail SMTP?
I know that there is some software that can see the source code, and I don't really like them seeing my Gmail password.
You shouldn't be using your user name and password in an application that someone else is running.
Modify the application so that it prompts the user for their e-mail credentials and use those.
This will have to be stored in a configuration file and can still be read by someone else unless you store the hashedencrypted password.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With