email automatic response

Discussion in 'C#' started by mywired, Apr 22, 2007.

  1. #1
    GREETINGS PEOPLE :)

    I would like to use one asp script but i'm just not familiar with programing so
    any help would be nice.

    The scenario is next:

    When some visitor come to my form.html page he/she needs to submit his/her
    name and e-mail address and then click submit button to be redirected to say
    thankyou.html.

    Now i would like to email the user instantly when he/she submit the form ( he basically get automatic response ) with
    e-mail message like " Thank you for submiting those infos ".

    I just don't know the code for that and please provide me with some examples.

    After all i would like to check that script in iis 5.1 with SMTP server on win xp to be sure that everything work if it's possible.

    So THANK'S for all. :)

    Edit/Delete Message
     
    mywired, Apr 22, 2007 IP
  2. ccoonen

    ccoonen Well-Known Member

    Messages:
    1,606
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    160
    #2
    Take a look at CDOSYS for the Emailing component. Either post back to the same page, or post to your thank-you page. then collect from the request scope and save to DB or jsut email yourself and the person using CDOSYS com.
     
    ccoonen, Apr 23, 2007 IP
    ludwig likes this.