ASP.NET - how to send mail without giving password in asp.net
Asked By Hari krishna s on 04-Mar-13 08:21 AM
hi i am using the concept of sending email through asp.net on click of button.but i hv to give the email id along with the password to send the email.Is there any way of sending the email without giving the user password of email in the web config as the client may refuse to give its password to developer because of security reasons.many sites like asp.net send email to user without asking their user password how it is possible
Robbe Morris replied to Hari krishna s on 04-Mar-13 08:28 AM
If you are not using windows authentication for your web site, then yes, you'll have to store email/password "somewhere" and in a fashion your end clients might not feel is secure enough. Any scenario that involves developers have the code to decrypt passwords stored "somewhere" is probably going to get shot down.
I'm not exactly sure why this web site functionality is necessary to send emails. Can you not just send the emails from an administrative account?