retromagik
Programmer
I have a form set up on a website. The user enters in their email address along with a few other things and when they click the submit button the information is emailed to a group of people (note the To, Cc and Bcc in the script below). What currently happens is that when this message is view in an email account and it is replied to it only goes back to the originator. What I need to have happen is this message needs to go not only to the originator but several others. I can't seem to add script after the Request.Form("email"
without getting error messages. Is there a way to create a Reply-Cc or add on additional address?
Here is my code:
<%
Set objCDONTSMail = Server.CreateObject("CDONTS.NewMail"
objCDONTSMail.From = Request.Form ("email"
objCDONTSMail.To = ("to@somewhere.com"
objCDONTSMail.Cc = ("cc@somewhere.com"
objCDONTSMail.Bcc = ("bcc@somewhere.com"
objCDONTSMail.Subject = "Online Form"
objCDONTSMail.Body = Request.Form ("body"
objCDONTSMail.Value("Reply-To"
= Request.Form("email"
objCDONTSMail.Send ()
Set objCDONTSMail = Nothing
%>
Here is my code:
<%
Set objCDONTSMail = Server.CreateObject("CDONTS.NewMail"
objCDONTSMail.From = Request.Form ("email"
objCDONTSMail.To = ("to@somewhere.com"
objCDONTSMail.Cc = ("cc@somewhere.com"
objCDONTSMail.Bcc = ("bcc@somewhere.com"
objCDONTSMail.Subject = "Online Form"
objCDONTSMail.Body = Request.Form ("body"
objCDONTSMail.Value("Reply-To"
objCDONTSMail.Send ()
Set objCDONTSMail = Nothing
%>