Modtager ikke e-mail fra J-Mail komponent
Jeg bruger følgende script som JMAIL:<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" style="text/css" href="popup_style.css">
</head>
<body bgcolor="#FFFFFF" background="images/top_konkurrence.gif" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<form name="form1" method="post" action="jmail.asp">
<p><br>
<br>
</p>
<table width="370" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="10"> </td>
<td width="360" class="main"><p><strong>Konkurrence</strong> <strong>2003</strong><br>
<br>
<br>
<br>
<strong>Gavekort til et weekendophold for 2.</strong></p></td>
</tr>
</table>
<br>
<table width="370" border="0" cellspacing="0" cellpadding="4">
<tr>
<td width="10" class="main"> </td>
<td width="70" class="main">Navn:</td>
<td width="290"> <input type="text" name="navn" size="20" style="border-style: solid; border-width: 1px; border-color: #333333; background-color: #BED3DC; font: 10px verdana">
</td>
</tr>
<tr>
<td colspan="3"><img src="images/trans.gif" width="1" height="5"></td>
</tr>
<tr>
<td class="main"> </td>
<td class="main">Alder:</td>
<td><select name="alder" size="1" style="border-style: solid; border-width: 1px; border-color: #333333; background-color: #BED3DC; font: 10px verdana">
<option> VÆLG ALDER </option>
<option>00-15</option>
<option>16-30</option>
<option>31-67</option>
<option>68-</option>
</select></td>
</tr>
<tr>
<td colspan="3"><img src="images/trans.gif" width="1" height="5"></td>
</tr>
<tr>
<td class="main"> </td>
<td valign="top" class="main">E-mail:</td>
<td valign="top"> <input type="text" name="email" size="20" style="border-style: solid; border-width: 1px; border-color: #333333; background-color: #BED3DC; font: 10px verdana"></td>
</tr>
<tr valign="top">
<td colspan="3"><img src="images/side_deler.gif" width="300" height="1"><br>
</td>
</tr>
<tr>
<td> </td>
<td colspan="2" class="main">xxx</td>
</tr>
<tr>
<td colspan="2"> </td>
<td><select name="spm1" style="border-style: solid; border-width: 1px; border-color: #333333; background-color: #BED3DC; font: 10px verdana" >
<option> VÆLG SVAR </option>
<option>Anders Dam</option>
<option>Viggo Jensen</option>
<option>Preben Elkjær</option>
</select></td>
</tr>
<tr>
<td colspan="3"><img src="images/trans.gif" width="1" height="5"></td>
</tr>
<tr>
<td><img src="images/trans.gif" width="1" height="10"></td>
<td colspan="2" class="main"><td>
</tr>
<tr>
<td colspan="2" class="main"> </td>
<td><select name="spm2" size="1" style="border-style: solid; border-width: 1px; border-color: #333333; background-color: #BED3DC; font: 10px verdana" >
<option> VÆLG SVAR </option>
<option>8 år</option>
<option>18 år</option>
<option>28 år</option>
</select></td>
</tr>
<tr>
<td colspan="3"><img src="images/trans.gif" width="1" height="5"></td>
</tr>
<tr>
<td> </td>
<td colspan="2" class="main"><img src="images/trans.gif" width="1" height="10">Hvornår
</td>
</tr>
<tr>
<td colspan="2" class="main"><br></td>
<td><select name="spm3" style="border-style: solid; border-width: 1px; border-color: #333333; background-color: #BED3DC; font: 10px verdana" >
<option> VÆLG SVAR </option>
<option>1948</option>
<option>1998</option>
<option>2003</option>
</select></td>
</tr>
<tr>
<td colspan="3"><img src="images/trans.gif" width="1" height="5"></td>
</tr>
<tr>
<td> </td>
<td colspan="2" class="main">Hvordan har du fundet frem til vores hjemmeside?</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td><select name="spm4" style="border-style: solid; border-width: 1px; border-color: #333333; background-color: #BED3DC; font: 10px verdana" >
<option> VÆLG SVAR </option>
<option>Nyhedsbrevet</option>
<option>Link fra e-mail</option>
<option>Søgemaskiner</option>
<option>Ref. søgning</option>
<option>Flyer</option>
<option>Andet</option>
</select></td>
</tr>
<tr>
<td colspan="3"><img src="images/trans.gif" width="1" height="5"></td>
</tr>
<tr>
<td> </td>
<td valign="top" class="main">
</td>
<td class="main">Ja tak
</td>
</tr>
<tr>
<td colspan="2"> </td>
<td class="main"> </td>
</tr>
<tr>
<td colspan="2"> </td>
<td class="main"> <input type="submit" style="background-color : #e9e9e9; border : 1px solid Gray; font-size: 10px; font-weight: bold" name="Submit2" value="DELTAG">
<br> <br> <br> </td>
</tr>
<tr>
<td class="main"> </td>
<td colspan="2" class="main">Vinderen vil få direkte besked ultimo
xxxx. </td>
</tr>
</table>
<p> </p>
</form>
</body>
</html>
--------------------------------------------
----------------------------------------------------------
<%
Navn = Request.Form("navn")
Alder = Request.Form("alder")
Email = Request.Form("email")
Spm1 = Request.Form("spm1")
Spm2 = Request.Form("spm2")
Spm3 = Request.Form("spm3")
Spm4 = Request.Form("spm4")
SenderEmail = "minmail@mail.dk"
Set JMail = Server.CreateObject("JMail.SMTPMail")
JMail.ServerAddress = "www.mitdomæne.dk"
JMail.AddRecipient "minmail@mail.dk"
JMail.Sender = "minmail@mail.dk"
JMail.Subject = "E-mail fra konkurrence"
Body = "Navn: " & vbcrlf & Navn & vbcrlf & vbcrlf & "Alder: " & vbcrlf & Alder & vbcrlf & vbcrlf & "E-mail: " & vbcrlf & Email & vbcrlf & vbcrlf & "Spørgsmål nr. 1: " & vbcrlf & Spm1 & vbcrlf & vbcrlf & "Spørgsmål nr. 2: " & vbcrlf & Spm2 & vbcrlf & vbcrlf & "Spørgsmål nr. 3: " & vbcrlf & Spm3 & vbcrlf & vbcrlf & "Spørgsmål nr. 4: " & vbcrlf & Spm4
JMail.Body = Body
JMail.Priority = 3
JMail.AddHeader "Originating-IP", Request.ServerVariables("REMOTE_ADDR")
JMail.Execute
' Her angiver du den side der skal omstilles til når mailen er sendt.
response.Write("Tak")
%>
-----------------------------------------------------
Den ser ud til at gå fint igennem, men jeg modtager aldrig nogen e-mails.