Hello
I am writing for a little clarification.
Below is an example CDONTS script for sending e.mail. If I want to send a copy of the e.mail message (sent to the Webmaster by the visitor) to the visitor - in the way autoresponders might work - can I simply use:
ObjCDOMail.CCTo = Request.Form("copy"
.....and would the name of the input box on the form need to be called 'copy'?
Many thanks in advance.
La Pluma
<%
Response.Buffer = True
Dim ObjCDOMail, strMsg
strMsg="Thank you for contacting whoever. We will review your requirements, and contact you within 24 hours with a quote. "& vbcrlf & vbcrlf _
&"Best wishes "& vbcrlf & vbcrlf _
&"whatever"
Set ObjCDOMail = Server.CreateObject("CDONTS.NewMail"
ObjCDOMail.From = Request.Form("strFrom"
)
ObjCDOMail.To = Request.Form("email"
ObjCDOMail.Subject = "whatever"
ObjCDOMail.Body = strMsg
ObjCDOMail.BodyFormat = 0
ObjCDOMail.MailFormat = 0
ObjCDOMail.Importance = 1
ObjCDOMail.Send
Set ObjCDOMail = Nothing
%>
I am writing for a little clarification.
Below is an example CDONTS script for sending e.mail. If I want to send a copy of the e.mail message (sent to the Webmaster by the visitor) to the visitor - in the way autoresponders might work - can I simply use:
ObjCDOMail.CCTo = Request.Form("copy"
.....and would the name of the input box on the form need to be called 'copy'?
Many thanks in advance.
La Pluma
<%
Response.Buffer = True
Dim ObjCDOMail, strMsg
strMsg="Thank you for contacting whoever. We will review your requirements, and contact you within 24 hours with a quote. "& vbcrlf & vbcrlf _
&"Best wishes "& vbcrlf & vbcrlf _
&"whatever"
Set ObjCDOMail = Server.CreateObject("CDONTS.NewMail"
ObjCDOMail.From = Request.Form("strFrom"
ObjCDOMail.To = Request.Form("email"
ObjCDOMail.Subject = "whatever"
ObjCDOMail.Body = strMsg
ObjCDOMail.BodyFormat = 0
ObjCDOMail.MailFormat = 0
ObjCDOMail.Importance = 1
ObjCDOMail.Send
Set ObjCDOMail = Nothing
%>