navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Pass Data to ASP Form Emailed to Specific Person

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> Pass Data to ASP Form Emailed to Specific Person
Page: [1]
 
nettop

 

Posts: 212
Joined: 2/9/2004
Status: offline

 
Pass Data to ASP Form Emailed to Specific Person - 6/21/2008 13:58:40   
A person visits a Listings Page at http://www.foothillbiz4sale.com/listings.asp and selects a listing they want more information on. When they select the listing, for example, they are taken to a page with some details, such as http://www.foothillbiz4sale.com/12_select.asp?ID=1080 . From here, I'd like for them to contact the specific agent (currently a general email link at the bottom of the page) that has this listing via email or a form and I'd like the form to include this listing number so the agent knows what the person is asking about. So, we need to create a form that has the agent ID that the form is submitted to and that it would include the listing information about this specific business.

One problem I have is that I can't get an ASP form to email ...it just sends info to the database. Any suggestions? Thanks, Tim
pd_it_guy

 

Posts: 186
Joined: 3/4/2008
Status: offline

 
RE: Pass Data to ASP Form Emailed to Specific Person - 6/22/2008 11:28:21   
My compliments on your site. While I would first let others weigh in with their ideas as there may be a better way to do this, this is what I would do.

Instead of the mail link you now have, make it a submit to a new page, and pass the variables of listing number and agent name (along with anything else you want to send forward) as hidden variables. This opens another page and form that prefills what we learned from the first page, and asks some things we dont know yet; such as, phone numbers, best way/ time to contact, email (although we would have that the old way) and anything else the agent could use to evaluate the lead. This form in turn is sent on to another page where a CDOSYS mail routine runs, that mails information from the form to the agent that was identified from the listing. The user gets a message that their inquiry was sent, and they can go back to look at more listings. You could skip the intervening page but if you go directly to the mail routine it might not look as clean and pass up an opportunity to get more information. In addition to responding to the ad to the agent you could have ad replies go into a separate database/table to be revisited later.

There are lots of CDOSYS examples on this site and I can get more if you need them.




(in reply to nettop)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> Pass Data to ASP Form Emailed to Specific Person
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts