Hvad går det galt.... HASTER
Det er en Jmail form som jeg ikke kan få til at virke... fejlen er\"Der opstod en intern HTTP 500-serverfejl\"
------------------- Jmail.asp -----------------------
<html>
<head>
<title>emailform</title>
</head>
<body>
<form method=\"post\" action=\"sendmail.asp\">
Udfyld denne form for at bestille 14.000 prof foto
<br><br>
Navn:<br>
<input type=\"text\" size=\"25\" name=\"name\"><br>
Frima:<br>
<input type=\"text\" size=\"25\" name=\"firma\"><br>
Adresse:<br>
<input type=\"text\" size=\"25\" name=\"adr\"><br>
Postnummer:<br>
<input type=\"text\" size=\"5\" name=\"post\"><br>
By:<br>
<input type=\"text\" size=\"25\" name=\"by\"><br>
Email adresse:<br>
<input type=\"text\" size=\"25\" name=\"email\"><br>
<input type=\"hidden\" size=\"25\" name=\"recipient\" value=\"min@email.dk\">
<input name=\"subject\" type=\"hidden\" value=\"Bestilling af foto CD\">
<br>Antal CD\'er:<br>
<input type=\"text\" size=\"3\" name=\"stk\"> af 98 kr. stk.<br>
<br>
<input type=\"submit\" value=\" Send \">
</form>
</body>
</html>
----------------------- sendmail.asp -----------------
<%@LANGUAGE = VBSCRIPT%> <html>
<body>
<%
name = Request.Form(\"name\")
senderEmail = Request.Form(\"email\")
subject = Request.Form(\"subject\")
recipient = Request.Form(\"recipient\")
body = \"Hej Bert\" & vbCrLf & \"Jeg vil gerne bestille \" & Request.From(\"stk\") & \" CD\'er\" & vbCrLf & \"Hilsen\" & Request.From(\"firma\") & vbCrLf & Request.From(\"name\") & vbCrLf & Request.From(\"adr\") & vbCrLf & Request.From(\"post\") & \" \" & Request.From(\"by\")
set msg = Server.CreateOBject( \"JMail.Message\" )
msg.Logging = true
msg.silent = true
msg.From = senderEmail
msg.FromName = name
msg.AddRecipient recipient
msg.Subject = subject
msg.body = body
if not msg.Send(\"websmtp.domæne.dk\" ) then
Response.write \"<pre>\" & msg.log & \"</pre>\"
else
Response.write \"Message sent succesfully!\"
end if
%>
</body>
</html>
------------------------------------------------------
kan i hjælpe mig