Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 31st, 2004, 05:24 AM
Authorized User
 
Join Date: Mar 2004
Location: fsd, pb, Pakistan.
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
Reply With Quote
  #2 (permalink)  
Old July 31st, 2004, 10:47 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Bangalore, KA, India.
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
Reply With Quote
  #3 (permalink)  
Old August 2nd, 2004, 04:47 AM
Authorized User
 
Join Date: Mar 2004
Location: fsd, pb, Pakistan.
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
Reply With Quote
  #4 (permalink)  
Old August 2nd, 2004, 06:07 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Bangalore, KA, India.
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 07:45 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.