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
<%
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
%>