Hello, I want to learn to send emails in C#. I want to build a contact us form where the user can just simply type his email address and write his message. Upon hitting the send button the message should get delivered to my email address(gmail account).
I have searched on internet regarding this, but every where they are doing it with SMTP which requires password of the sender. But I have seen in several contact us forms of websites where we do not need to enter the password or we don't even login. We just simply go to the contact us form and fill it, and hit the send button.
Could you please guide me how can I achieve the above mentioned functionality without the need to making user login or entering his gmail's password?
Thank you in advance for you help !
I have searched on internet regarding this, but every where they are doing it with SMTP which requires password of the sender. But I have seen in several contact us forms of websites where we do not need to enter the password or we don't even login. We just simply go to the contact us form and fill it, and hit the send button.
Could you please guide me how can I achieve the above mentioned functionality without the need to making user login or entering his gmail's password?
Thank you in advance for you help !