Step
Starting Member
3 Posts |
Posted - 13 August 2003 : 17:38:43
|
Hello everybody.
I'm having problems with CDONTS. I want people to enter my site, send me an e-mail and I want them to recieve an autoresponse (in their mailbox). Something like "We will contact you as soon as possible... etc...", with some news or latest promotions, etc. I use Flash with ASP. I am not a programmer, but a web designer, so I don't know a lot about programming or ASP.
The mail form and one part of the code is inside Flash, and it is my ASP above. So far users can get my page and send me a mail. And I recieve it. The problem is I can't figure out what should I do so they can receive an autoresponse, some .txt or .html file. Thank you very much.
<%@Language=VBScript%> <%Option Explicit%> <%Response.Buffer = True%>
<% Dim Mailer Dim msgTxt
msgTxt = Request("name") & vbCrLf msgTxt = msgTxt & "le ha enviado el siguiente mensaje:" & vbCrLf & vbCrLf msgTxt = msgTxt & Request("message")
'CDONTS Mail setup Set Mailer = Server.CreateObject("CDONTS.Newmail") Mailer.Send Request("email"), Request("recipient"), Request("subject"), msgTxt Set Mailer = nothing
Response.Write "mailSent=true" %> |
|