Extra Email Address

Results 1 to 2 of 2

Thread: Extra Email Address

  1. #1
    Join Date
    Dec 1969

    Default Extra Email Address

    I have this form that uses cdonts. In the form I have three email address hard coded in that the form is sent to whenever it is submitted. This is working.<BR><BR>However I&#039;m trying to add an extra form field in case the user wants the email to go to a fourth party, only on certain occastions will this happen. I&#039;ve placed a form field in the form and called it extra. In the code I have this, the code runs but the email is not sent.<BR><BR>objCDO.To = "hazel_rushing@eamc.org;sue_langston@eamc.org;tany a_norris@eamc.org;strExtra"

  2. #2
    Join Date
    Dec 1969

    Default RE: Extra Email Address

    You have to put the variable outside the string of addresses, otherwise it does not read as a variable.<BR><BR>objCDO.To = "hazel_rushing@eamc.org;sue_langston@eamc.org;tany a_norris@eamc.org;" & strExtra

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts