Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 14th, 2006, 04:28 PM
Registered User
 
Join Date: Mar 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default I don't know what I am doing!

I am very new to ASP (actually, I don't know anything about it). I have created a form using an Hhtm page and need to change it to accomodate cdont scrips to enable it work on my server. Can anyone please tell me a quick and fast way of doing this? I understand I must state From and To destination for it to work. Below is a snippet of what I am working with:

<FORM METHOD="POST" ACTION="cdontsmail.asp">
<INPUT TYPE="hidden" NAME="recipient" VALUE="orders@lehtebtitle.com">
<INPUT TYPE="hidden" NAME="subject" VALUE="Online Title Request">
<INPUT TYPE="hidden" NAME="required" VALUE="realname,email">
<table border="0" cellspacing="5" cellpadding="0" align="center">
<tr>
<td align="right" valign="middle"><p>Name of Person Completing this Form</p></td>
<td align="left" valign="middle"><input name="realname" maxlength="72" size="20" type="text"></td>
td align="left" valign="middle"><input name="Promotional code" value="" maxlength="72" size="20" type="text"></td>
                            </tr>
                            <tr align="center">
<td align="right" valign="middle"></td>
<td align="left" valign="middle"><input value="Send" type="submit"><input type="reset" name="cmdClear" value="Clear"></td>
            </tr>
</table>

 
Old March 14th, 2006, 07:07 PM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

;;I have created a form using an Hhtm page
mmmmm, you mean html

There are lots of code examples of this on Google. Have you tryed looking? Eg:

http://www.experts-exchange.com/Web/..._10316314.html

What type of server are you using? If you are using wim 2003 CDONTS is no longer supported and does not have the CDONTS.dll

IMO you should asl google 'how to send mail using CDOSYS' the code examples are there, they work and there are many of them.

Wind is your friend
Matt









Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.