2 Replies Latest reply on Mar 26, 2010 3:31 PM by bregent

    DW Form - Trying to send results to multiple email addresses

    ketchme14

      I have a form with several fields for e-mail addresses. My goal is to send the form results to everyone whose email address is submitted on the form.

       

      This code obviously sends the form results to the email address you put in this  specific code.

       

       

      if Request.Form("submit").Count > 0 then

      ' initialize fields that go into the email header
      strTo = "
      abc@yourname.com"

      'strTo = "a@b.com"
      if Request.Form("id") = "" then
      strFrom = "
      No_Email_Address_Given@bogus.org"
      else
      strFrom = Request.Form("id")
      end if
      strSubject = ""

       

      Do I send the other emails through IF statements as well?

       

      Thanks so much for your help!