I keep getting this error on my form code, but only when I keep the MailNewObj.Send in the code, so I know it is this... I get the 500 INTERNAL ERROR message.. I tried shutting off "friendly messages" in IE, but it still winds up with the same message... I am publishing to GoDaddy and the GoDaddy server is ASP/LINUX since I wanted a combination of both... GoDaddy mentioned I should add the following lines, somewhere in my code:OUTGOING SERVER = relay-hosting.secureserver.net
Any help would be appreciated...
ENTIRE CODE:
<%@ Language="VBscript" %>
<% Option Explicit %>
<html>
<head>
<title>Message Sent</title>
</head>
<body>
<%
'declare the variables that will receive the values
'receive the values sent from the form and assign them to variables
'note that request.form("name") will receive the value entered into the textfield
'called name, and so with email and message
Dim first, last, phone, email
Dim eventdate, eventtype, eventlocation, message, NewMailObj
first=request.form("first")
last=request.form("last")
phone=request.form("phone")
email=request.form("email")
eventdate=request.form("eventdate")
eventtype=request.form("eventtype")
eventlocation=request.form("eventlocation")
message=request.form("message")
'create the mail object and send the details
Set NewMailObj=Server.CreateObject("CDONTS.NewMail")
NewMailObj.From = "events@settevideoproductions.com"
NewMailObj.To = "events@settevideoproductions.com"
NewMailObj.Subject = "NEW MESSAGE FROM SETTEVIDEOPRODUCTIONS.COM"
NewMailObj.Body = "First Name: " & first & _
"<br>Last Name: " & last & _
"<br>Phone: " & phone & _
"<br>E-mail: " & email & _
"<br>Event Date: " & eventdate & _
"<br>Event Type: " & eventtype & _
"<br>Event Location: " & eventlocation & _
"<br>Message: " & message
'you need to add the following lines FOR the mail to be sent in HTML format
NewMailObj.BodyFormat = 0
NewMailObj.MailFormat = 0
'The next line gives me an error if I keep it in... it is necessary to send the mail out
NewMailObj.Send
'Close the email object and free up resources
Set NewMailObj = nothing
Response.Redirect "http://www.settevideoproductions.com/thankyou.html"
%>
</body>
</html>