The ASP code for processing mail is quite different to what you are trying to use…
Try something like this in scandoor.asp (obviously request all of your fields):
strWho = Request ("UserName")
strTo = Request("UserEmail")
If strWho = "" or strTo = "" Then
Response.Write ("You must complete both the Name and Email fields.")
Else
'Now set the mailer object
Set Mailer = Server.CreateObject("SMTPsvg.Mailer") 'Use the mailer object installed on your server
Mailer.FromName = "Your Web Server" Mailer.FromAddress= "mailadmin@lucidsurf.com" 'You can set this to any name that you choose (I usually use the sender's email address)
Mailer.RemoteHost = "mail.myserver.net" Mailer.AddRecipient strWho, strTo 'Place the destination email address here. This would usually be your email address
Mailer.Subject = "ASPMail Test Message" 'Any subject line relevant to the form should be placed here
Mailer.BodyText = "Dear " & strWho & ". This e-mail is to let you know that the ASPMail email is working..." 'In the body you can place any other form content
'Now send the email. You can just use "Mailer.Sendmail" but the following approach chcks to make sure the mail is sent.
If Mailer.SendMail Then
Response.Write (strWho & " - an email was sent to you at " & strTo)
Else
Response.Write "Mail send failure. Error was " & Mailer.Response
End If
Set Mailer = Nothing 'Clean up
End If