Sendmail - Jeg kan ikke få alle felter med
Jeg kan ikke få felterne (tlf,fir,for,eft og tex) med i mailen.Hvem kan hjælpe???
<%
font = \"<font face=\'trebuchet ms\' size=\'2\'>\"
page_header = \"Fejlrapport\"
mode = request(\"mode\")
if mode = \"\" then
%>
<html>
<head>
<link rel=\"stylesheet\" href=\"stylesheets/ahhaaa.css\" type=\"text/css\">
</head>
<body text=\'#333333\' bgcolor=\"#CCCCCC\">
<form action=\"fejl.asp\" method=\"post\">
<div align=\"center\">
<table cellpadding=1 cellspacing=1>
<tr bgcolor=\"#999999\">
<td class=\"ahhaaa\">Fejltype</td>
<td class=\"ahhaaa\">Beskrivelse</td>
<tr align=top>
<td>
<table width=100% align=\"center\">
<tr>
<td class=\"ahhaaa\">
<input type=\"radio\" name=\"from_email\" value=\"dat\">
</td>
<td class=\"ahhaaa\">Data</td>
</tr>
<tr>
<td class=\"ahhaaa\">
<input type=\"radio\" name=\"from_email\" value=\"reg\">
</td>
<td class=\"ahhaaa\">Regions</td>
</tr>
<tr>
<td class=\"ahhaaa\">
<input type=\"radio\" name=\"from_email\" value=\"mnu\">
</td>
<td class=\"ahhaaa\">Mnumre</td>
</tr>
<tr>
<td class=\"ahhaaa\">
<input type=\"radio\" name=\"from_email\" value=\"tek\">
</td>
<td class=\"ahhaaa\">Teknisk</td>
</tr>
<tr>
<td class=\"ahhaaa\">
<input type=\"radio\" name=\"from_email\" value=\"div\">
</td>
<td class=\"ahhaaa\">Diverse</td>
</tr>
<tr bgcolor=#999999>
<td colspan=\"2\" class=\"ahhaaa\">Data</td>
</tr>
<tr>
<td class=\"ahhaaa\">Telefonnummer</td>
<td class=\"ahhaaa\">
<input type=\"text\" name=\"a\" size=15 maxlength=\"8\">
</td>
</tr>
<tr>
<td class=\"ahhaaa\">Firmanavn</td>
<td class=\"ahhaaa\">
<input type=\"text\" name=\"fir\" size=15>
</td>
</tr>
<tr>
<td class=\"ahhaaa\">Fornavn</td>
<td class=\"ahhaaa\">
<input type=\"text\" name=\"for\" size=15>
</td>
</tr>
<tr>
<td class=\"ahhaaa\">Efternavn</td>
<td class=\"ahhaaa\">
<input type=\"text\" name=\"eft\" size=15>
</td>
</tr>
<tr>
<td class=\"ahhaaa\">Dette nummer skal gøres hemligt</td>
<td class=\"ahhaaa\">
<div align=\"center\">
<input type=\"checkbox\" name=\"hem\" value=\"checkbox\">
</div>
</td>
</tr>
</table>
</td>
<td class=\"ahhaaa\">
<textarea cols=40 rows=15 name=\"tex\" class=\"ahhaaa\" wrap=\"VIRTUAL\"></textarea>
</td>
</tr>
<tr>
<td colspan=\"2\" class=\"ahhaaa\">
<div align=\"center\">
<input type=\"submit\" value=\"Send fejlrapport\" class=\"ahhaaa\" name=\"submit\">
</div>
</td>
</tr>
</table>
</div>
<table>
<tr>
<td class=\"ahhaaa\">
<input type=\"hidden\" name=\"to_email\" value=\"#MIN EMAILADRESSE#\">
</td>
<td>
<input type=\"hidden\" size=35 name=\"header\" value=\"<% =Request.ServerVariables(\"LOGON_USER\") %>\">
</td>
<td class=\"ahhaaa\">
<input type=\"hidden\" name=\"mode\" value=\"send\">
</td>
</tr>
</table>
</form>
</body>
</html>
<%
end if
if mode = \"send\" then
importance = 1 \' normal
Set mailObj = CreateObject(\"CDONTS.NewMail\")
mailObj.Send request(\"from_email\"), request(\"to_email\"), request(\"header\"), request(\"message\"), importance
Set mailObj = Nothing
%>
<html>
<head><title><% = page_header %></title></head>
<body bgcolor=\'123456\' text=\'#ffffff\'><% = font %>
Din fejlrapport til "<% = request(\"to_email\") %>" er afsendt!
</body>
</html>
<%
end if
%>