Forum Moderators: open
<link>
Thanks for any help you offer.
~Brett
If you would like to see the error in action for yourself, go here:
<link>
Send an email to Webmaster: Brett Patterson (that's me) and no-one else. The error happens for everyone.
[edited by: Xoc at 3:15 pm (utc) on April 22, 2003]
[edit reason] delinked [/edit]
Also, there's another error of the same sort on another page. I've posted the script here. It's basically identical to the contact script with revisions for the stuff entered, but it still comes up as an error.
userpages.umbc.edu/~brett2/addmembersuccessASP.html
Thanks for the help.
~Brett
[edited by: Xoc at 3:16 pm (utc) on April 22, 2003]
[edit reason] delinked [/edit]
<%
'Gets Form Input
'textarea input, for body of message.
Dim strName, strEmail, strUser
strName = Request.Form("fullname")
strEmail = Request.Form("email")
strUser = Request.Form("username")'Backup validates the fields if JavaScript failed and redirects back to the form if they're empty
If strName="" or strUser="" or strEmail="" Then Response.Redirect("add_success.asp") End If
'Fire off the email
Dim objMail
Set objMail = CreateObject("CDONTS.NewMail")
With objMail
.From = strName & (strEmail)
.To = "brett2@umbc.edu"
.Subject = "[UMBC EMS] Add Member " & strName & " [UMBC EMS]"
.Body = "Name: " & strName & vbCrLf & "Email: " & strEmail & vbCrLf & vbCrLf & "User: " & strUser & vbCrLf & vbCrLf & Date() & " at " & Time()
.Send
End With
Set objMail = Nothing
%>