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.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.