• Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net
managed wordpress hosting

form submission using CDONTS email query

cabalstudios

New Member
Set objCDOMessage = Server.CreateObject("CDONTS.NewMail")
objCDOMessage.From = Emailaddress
objCDOMessage.To = "test@cabalstudios.co.uk"
objCDOMessage.Subject = "Contact Order Enquiry"
objCDOMessage.Body = Message
objCDOMessage.Send
Set objCDOMessage = Nothing

That's what I have in the asp file that sends me submission info, it it possible to edit the field,
objCDOMessage.To = "info@cabalstudios.co.uk"
so that it will also send an email to the customer example is it as easy as this objCDOMessage.To = "test@cabalstudios.co.uk" & Emailaddress <-- because I have tried that and it dosen't work.

or can I have a objCDOMessage.Cc = Emailaddress

any help will be appreciated. Thanks
 
I have added the objCDOMessage.Cc = Emailaddress
but it dosen't seem to send both emails only i am receiving the email. any ideas?
 
objCDOMessage.To = "e1@mail.com,e2@mail.com,e3@mail.com ..."

Basically, e-mail addr. are seperated by a comma. Same way for the .CC & .BCC fields.
 
Back
Top