I have a contact us form in one of my asp.net website, which contains following field:
- Name
- Contact Number
- Email Address
- Subject
- Message
Now whenever user fill up the form and submit it, i want to receive mail in my inbox with the user's mail as the "from".
Now as i don't know which server user would be using and his credentials, how can i send the mail, "from" as his email address and "to" as mine.
I know that's quite possible, here is one of the site who does exactly thatOnce you choose any of the greetings and click on send, it will ask you for sender's name and email and receiver's name and email and it sends email to receiver with the senders mail in the from field.