| | |
cdoMessage.To=Request.Form("email")
Please support our ASP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Jul 2006
Posts: 3
Reputation:
Solved Threads: 0
Hi I am tryin to get a page to send an email back to the user, I can mail to myself but I want it to take it from the previous page. please help its driving me mad
Cheers Phil
Cheers Phil
ASP Syntax (Toggle Plain Text)
<% theSchema="http://schemas.microsoft.com/cdo/configuration/" Set cdoConfig=server.CreateObject("CDO.Configuration") cdoConfig.Fields.Item(theSchema & "sendusing")= 2 cdoConfig.Fields.Item(theSchema & "smtpserver")= "10.10.10.3"' cdoConfig.Fields.Update set cdoMessage=Server.CreateObject("CDO.Message") cdoMessage.Configuration=cdoConfig cdoMessage.From= "xxx" cdoMessage.To=Request.Form("email") cdoMessage.Subject="website registration details" cdoMessage.Textbody ="Hello" & Request.Form("fstname") & " " & request.form("lstname") & "," & vbnewline & "Username: " & Request.Form("username") & vbNewLine & vbnewline & "Cheers Sharky" cdoMessage.send Set cdoMessage=Nothing Set cdoConfig=Nothing %>
First thing to do would be to response.write out you form variables to verify that the form data is being passed through to the script correctly.
Are you getting any errors, or just a blank page?
Are you getting any errors, or just a blank page?
If I've been a help please confirm by clicking the Add to Lafinboy's Reputation link in the header of this reply.
Lafinboy Productions
:: Website Design :: Website Development ::
Lafinboy Productions
:: Website Design :: Website Development ::
![]() |
Similar Threads
- Potentially Dangerous Request.Form? Error (ASP.NET)
- request.form is not working in asp.net (ASP.NET)
- asp connecting to database (ASP)
- Form not sending email (PHP)
Other Threads in the ASP Forum
- Previous Thread: dual simultanious actions from 1 form
- Next Thread: Where is Frontpage Sever Extension 2002
| Thread Tools | Search this Thread |
archive asp asp.net aspandmssqlserver2005 aspandmssqlserver2005connection aspconnection connection database databaseconnection dreamweaver excel fso iis msmsql mssql2005 mssqlserver2005 mssqlserver2005andasp mssqlserverandasp opentextfile record searchbox selectoption single specfic sqlserver sqlserverconnection windows7





