I have a textbox called txtEmail on a form with a submit button using .asp
When I enter an email address into that box and press the submit buttom, I would like that address to become the send to address using cdonts. Also I would like to have an email address thats already in the send to like you see sales@test.com is. So basically I want two emails to be present.
Set objMail = Server.CreateObject("CDONTS.NewMail"
objMail.From = "info@test.com"
objMail.To = "sales@test.com" & email ???
objMail.Subject = "This is a test"
objMail.Body = "Testing"
objMail.MailFormat = 0
objMail.BodyFormat = 0
objMail.Send
Set objMail = Nothing
When I enter an email address into that box and press the submit buttom, I would like that address to become the send to address using cdonts. Also I would like to have an email address thats already in the send to like you see sales@test.com is. So basically I want two emails to be present.
Set objMail = Server.CreateObject("CDONTS.NewMail"
objMail.From = "info@test.com"
objMail.To = "sales@test.com" & email ???
objMail.Subject = "This is a test"
objMail.Body = "Testing"
objMail.MailFormat = 0
objMail.BodyFormat = 0
objMail.Send
Set objMail = Nothing