Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | 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 23rd, 2005, 11:39 AM
Authorized User
 
Join Date: Jan 2005
Location: ipaja, lagos, Nigeria.
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to p2ptolu Send a message via Yahoo to p2ptolu
Default sending record links from form

how do i send a record link with my form mail below i have the database and when a form is filled it sends a mail to me , i want the link to the record of the user to be sent to me so that i can click and a page with the users details is loaded from database. ? what link should be in the .Textbody

Sub SendRequestMail()

Dim objMail, objMailConf
Set objMail = Server.CreateObject("CDO.Message")
Set objMailConf = Server.CreateObject("CDO.Configuration")
'objMailConf.Fields.item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 1
'objMailConf.Fields.item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "192.168.230.10"
'objMailConf.fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
'objMailConf.Fields.item("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 10
objMailConf.Fields.Update
Set objMail.Configuration = objMailConf
objMail.From = "email@email.com"
objMail.To = "xxx@yahoo.com"
objMail.Subject = "testing form"
objMail.TextBody = "This is the link ........ (forum help)...... "

objMail.Fields.Update
objMail.Send
Set objMail = Nothing



Reply With Quote
  #2 (permalink)  
Old July 25th, 2005, 10:02 PM
Authorized User
 
Join Date: Nov 2003
Location: Phnom Penh, , Cambodia.
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to eapsokha
Default

Create a page consists of two functions; inserting user info into database, and another is sending user ID link via e-mail to you. Is that what you want? Cheers.

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
passing unique record from form to form Baconant Beginning VB 6 1 January 2nd, 2008 06:20 PM
sending email based on form value stecol Classic ASP Professional 0 February 1st, 2007 10:21 AM
sending email from a form x_ray ASP.NET 1.0 and 1.1 Basics 5 February 22nd, 2006 02:58 PM
Sending Search results to a Form gpboy Access VBA 5 August 6th, 2004 05:01 PM
Inserting a Record and sending an email ambirC Classic ASP Databases 2 October 30th, 2003 07:28 AM



All times are GMT -4. The time now is 08:56 AM.


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