APS Page to Email

This is a discussion on "APS Page to Email" within the Classic ASP section. This forum, and the thread "APS Page to Email are both part of the Program Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Program Your Website > Classic ASP

Notices




Closed Thread
 
LinkBack Thread Tools
  #1  
Old Feb 27th, 2004, 04:42
Most Reputable Member
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,612
Blog Entries: 2
Thanks: 0
Thanked 4 Times in 3 Posts
APS Page to Email

I have developed a simple website for my own using ASP language + Access Database...and i am still new in this language!

What i want to do now is...
when the user fill in certain form in my websites..
all the information that they had key in such as their name, age, gender, tel no. and etc, will be sent to my database as well as to my email or perhaps their email too!

can sombody teach me in step by step instruction in this
which one to use: (jmail @ cdonts)???
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!

  #2  
Old Feb 27th, 2004, 07:36
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
I'd use something other than CDONTS if it's installed on your server. CDONTS works fine and all, but it's not as simple to use at the other ones.

Once you figure out which email component you're going to use I'd look up the website for it. They usually have lots of code sample for doing things. With a copy and paste and a little tweaking you should be fine.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #3  
Old Feb 27th, 2004, 08:34
Highly Reputable Member
Join Date: Jul 2003
Location: Ipswich, UK
Posts: 690
Thanks: 0
Thanked 0 Times in 0 Posts
I disagree, CDONTS is very easy in my opinion, CDOSYS is even better. Theres plently of examples out there.

Which part are you stuck with? database or email?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #4  
Old Mar 1st, 2004, 05:05
Most Reputable Member
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,612
Blog Entries: 2
Thanks: 0
Thanked 4 Times in 3 Posts
Hai guys...!
well, actually I already and successfully coded my page with CDONTS code that sends email from the form in my web site to my email and database!
I dont have any problem with them now, but i am looking foward to share your ideas since one of you guys said that there's an easy way other than CDONTS!

Now...my problem is,
I already created a TESTING page that uses the CDONTS code in my page, and i had made the connection to the database successfully as well...
but when I uploaded them in the internet (i use BRINKSTER), it didnt work!
Can you suggest the solution to my problem?
I am not sure if the web server/hosting support CDONTS?

any way, thanx for your reply!
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #5  
Old Mar 1st, 2004, 05:42
Most Reputable Member
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,612
Blog Entries: 2
Thanks: 0
Thanked 4 Times in 3 Posts
hai smokies,
do you know where i can upload my page (that contain CDONTS)
to the web server that support them?
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #6  
Old Mar 2nd, 2004, 09:49
Highly Reputable Member
Join Date: Jul 2003
Location: Ipswich, UK
Posts: 690
Thanks: 0
Thanked 0 Times in 0 Posts
You need to be more specific when you say "it didnt work".

Look on the Brinkster support/FAQ pages to find out which email components they support.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #7  
Old Mar 3rd, 2004, 04:04
Most Reputable Member
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,612
Blog Entries: 2
Thanks: 0
Thanked 4 Times in 3 Posts
well...actually my cdonts script didnt work at all...
can sombody help me generate or code the cdonts script for me...please!

My main form will contain:
(ask the user to input)

[variable]
name
date
roomtobook
bookingdate
email

all of them will be sent to the admin email(mazda_offroadriders@yahoo.com)
can any body help me code the cdonts for this form..?
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #8  
Old Mar 3rd, 2004, 08:34
Highly Reputable Member
Join Date: Jul 2003
Location: Ipswich, UK
Posts: 690
Thanks: 0
Thanked 0 Times in 0 Posts
Have you actually checked that Brinkster supports CDONTS???????????

Code: Select all
Set objMail = Server.CreateObject("CDONTS.NewMail")
objMail.Subject = "subject here"
objMail.Body = "message body"
objMail.From = "your name<your email>"
objMail.To = "recipient email"
objMail.Send
Set objMail = Nothing
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #9  
Old Mar 3rd, 2004, 10:20
Rob's Avatar
Rob Rob is offline
Webforumz Founder
Join Date: Jul 2003
Location: Southern UK
Age: 34
Posts: 3,186
Blog Entries: 7
Thanks: 27
Thanked 23 Times in 20 Posts
Brinkster dows not support CDONTS...

It does however support:-<ul>[*]CDOSYS[*]Persits ASPEmail[*]ServerObjects ASPMail[*]Dimac JMail[/list]If you need sample code for any of the above, then let me know.
__________________
Click the 'Thanks!' button if this post has helped you

Rob - Webforumz Founder
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #10  
Old Mar 3rd, 2004, 11:03
Most Reputable Member
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,612
Blog Entries: 2
Thanks: 0
Thanked 4 Times in 3 Posts
well...i'll be grateful if you can teach or perhaps code for me ROB!
can you code for me the 2 file needed to run the page? I mean the input form and the CDOSYS script? You can refer to my input page above, including all the variable that i'll be using

Here is the sample input page that i created....
notice that the {action="sendmail.asp"}
ok....i hope you can help me friend!
i really be grateful if you can do that
thanx in advance!

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<form name="form1" method="post" action="sendmail.asp">
<table width="500" border="0" cellspacing="0" cellpadding="2">
<tr>
<td width="145">Name:</td>
<td width="349"><input name="frmName" type="text" id="frmName"></td>
</tr>
<tr>
<td>Date:</td>
<td><input name="frmDate" type="text" id="frmDate"></td>
</tr>
<tr>
<td>Room to book:</td>
<td><input name="frmRoomToBook" type="text" id="frmRoomToBook"></td>
</tr>
<tr>
<td>Booking Date:</td>
<td><input name="frmBookingDate" type="text" id="frmBookingDate"></td>
</tr>
<tr>
<td>Email:</td>
<td><input name="frmEmail" type="text" id="frmEmail"></td>
</tr>
<tr>
<td><input type="submit" name="Submit" value="Submit"></td>
<td> </td>
</tr>
</table>
</form>
</body>
</html>
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #11  
Old Mar 3rd, 2004, 11:22
Rob's Avatar
Rob Rob is offline
Webforumz Founder
Join Date: Jul 2003
Location: Southern UK
Age: 34
Posts: 3,186
Blog Entries: 7
Thanks: 27
Thanked 23 Times in 20 Posts
Hi Monie....

Nobody learns if I do this for you! (Even if I did have the time)

Have a go yourself, and we'll help you if you get stuck!

Webforumz.com is about getting help, so you learn and further your skills... if everyone does things for you, you learn nothing.

Here is a code example for persits ASPEmail:-
Code: Select all
Dim objMail
Set objMail = Server.CreateObject("Persits.MailSender")
objMail.From = "youremail"
objMail.FromName = "User"
objMail.Host = "yourmail.server"
objMail.AddAddress "emailaddress", "Username"
objMail.Subject = "ASPEmail Test"
objMail.Body = "The body."
objMail.Send
Set objMail = Nothing
Here is a JMail example:-
Code: Select all
Dim objMail
Set objMail = Server.CreateObject("JMail.Message")
objMail.From = "youremail"
objMail.FromName = "User"
objMail.AddRecipient "emailaddress", "Username"
objMail.Subject = "ASPEmail Test"
objMail.Body = "The body."
objMail.Send("yourmail.server")
Set objMail = Nothing
Hope this helps!
__________________
Click the 'Thanks!' button if this post has helped you

Rob - Webforumz Founder
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #12  
Old Mar 4th, 2004, 04:48
Most Reputable Member
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,612
Blog Entries: 2
Thanks: 0
Thanked 4 Times in 3 Posts
well, thanx anyway!
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Closed Thread

Tags
aps, page, email

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP email form not sending email Kurt PHP Forum 1 Oct 12th, 2007 04:26
Form submits to email via php, but email is blank!!?? DH1234 PHP Forum 2 Jun 18th, 2007 10:42
A gap appears beween the Page Title and the Body Content of the page. sovereign6 Web Page Design 6 Dec 18th, 2006 19:14
track referer and pass value to asp send email page mccannio Classic ASP 3 Dec 6th, 2005 12:49
[Req] how to make a comment page that sends input to email slorryy JavaScript Forum 4 Dec 2nd, 2005 09:56


All times are GMT. The time now is 04:06.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42