Print Page | Close Window

CDONTS

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=5000
Printed Date: 30 March 2026 at 4:29pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: CDONTS
Posted By: Step
Subject: CDONTS
Date Posted: 13 August 2003 at 3:36pm

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.

< mailto:%@Language=VBscript% - %@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"
%>




Replies:
Posted By: 3BEPb
Date Posted: 13 August 2003 at 4:03pm

Just add another variable, like "msgTxt", you have and insert necessary text, like

msgTxt2 = "Dear user" & vbcrlf & "Thank you for your submission, we will contact you asap."

Then, write

Mailer.Send Request("user@email"), Request("user_name"), "Thank you for submission", msgTxt2



Posted By: Step
Date Posted: 13 August 2003 at 4:28pm

Thank you very very much! I have a question. What's the mailto:user@email - "user@email "?



Posted By: Step
Date Posted: 13 August 2003 at 4:42pm
By the way, 3BEPb, are you russian?



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net