Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - CDONTS
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CDONTS

 Post Reply Post Reply
Author
Step View Drop Down
Newbie
Newbie


Joined: 13 August 2003
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote Step Quote  Post ReplyReply Direct Link To This Post Topic: CDONTS
    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.

<%@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"
%>

Back to Top
3BEPb View Drop Down
Groupie
Groupie


Joined: 07 August 2003
Location: United States
Status: Offline
Points: 81
Post Options Post Options   Thanks (0) Thanks(0)   Quote 3BEPb Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
Step View Drop Down
Newbie
Newbie


Joined: 13 August 2003
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote Step Quote  Post ReplyReply Direct Link To This Post Posted: 13 August 2003 at 4:28pm

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

Back to Top
Step View Drop Down
Newbie
Newbie


Joined: 13 August 2003
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote Step Quote  Post ReplyReply Direct Link To This Post Posted: 13 August 2003 at 4:42pm
By the way, 3BEPb, are you russian?
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.