Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. 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 Databases 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 July 31st, 2004, 05:24 AM
Authorized User
 
Join Date: Mar 2004
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alitoday Send a message via Yahoo to alitoday
Default feedback into email

i have a website with online feedback form.it works well.it store feedback in my database (MS Access),i can show it in my pages easily.
Now i want to send this feedback into my email account as well, mean to say that when any one fill up my feedback form,it automatically deliver to any my email account.and i can reply any feedback directly from my email account.what should i do?

ali
__________________
ali
 
Old July 31st, 2004, 10:47 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

But you have not specified, what on OS is your webserver hosted, and other details.

Not sure what component you are using to send out mails. IF any already in place then, you should edit the code on the FEEDBACK form page, and add your email address to the TO field, so that anytime the feedback form is filled and submitted, you are notified.

If Mailing code is not in place already, you may take a look at CDONTs code samples and code accordingly. CDONTS can be used only with MS Windows OS and IIS hosting your webserver and SMTP installed on it.

Hope that helps
Cheers!

_________________________
- Vijay G
Strive for Perfection
 
Old August 2nd, 2004, 04:47 AM
Authorized User
 
Join Date: Mar 2004
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alitoday Send a message via Yahoo to alitoday
Default

Sir,i am using windows 2000 and ISS 5.0,can u give me links to this kind of articles and codes.

ali
 
Old August 2nd, 2004, 06:07 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi Ali,

You can edit the ASP page that has the mailing code in it(if any) and just add your email id to the TO proporty of the mail object.

If Mailing feature is not in place, you can go through this URL
NewMail Object (CDONTS Library) - You can expand the NewMail Object (CDONTS Library) on the left-hand-side and read all the sub links there.

Eg:
Code:
Dim myMail
Set myMail = CreateObject("CDONTS.NewMail")
myMail.From = "user2@example.com"
myMail.To = "user@example.com"
myMail.Subject = "Sample Message"
myMail.Body = "This is a sample message."
myMail.AttachFile "d:\sample.txt"
myMail.Send
Set myMail = Nothing
But for this to work you should have SMTP setup on the system that runs IIS. You can check that from the services console if SMTP is already installed and running. Else, got to install.

Hope that helps.
Cheers!

_________________________
- Vijay G
Strive for Perfection





Similar Threads
Thread Thread Starter Forum Replies Last Post
Concern and feedback picnn Intro Programming 1 October 30th, 2006 02:36 PM
'Feedback' Scoring system foddie MySQL 1 October 24th, 2006 05:33 PM
READ BEFORE POSTING in FEEDBACK jminatel Forum and Wrox.com Feedback 0 October 5th, 2005 11:27 PM
ASP Feedback Ben Horne Classic ASP Basics 2 November 21st, 2003 11:30 AM
Feedback- not support. Hal Levy Wrox Book Feedback 0 July 4th, 2003 10:36 AM





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