Confirmation Email to user while submitting the feedback form

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • developerquery
    New Member
    • Jun 2012
    • 17

    Confirmation Email to user while submitting the feedback form

    I am making a feedback form, as the user clicks on submit the user should get a confirmation mail from .in domain(i.e my email id, eg myname@mydomain .in), what would be the code for that in asp.net using C#?
  • PsychoCoder
    Recognized Expert Contributor
    • Jul 2010
    • 465

    #2
    While I'm not going to give you the code you seek (you wont learn unless you do it) I can tell you that you're going to want to use the MailMessage class, located in the System.Net.Mail namespace.

    The first link offers an example of sending an email from your application.

    Comment

    Working...