Et (STORT) problem med jmail
Jeg har ALTID et problem når jeg skal bruge jmail i et script.Min udbyder friserverplads.dk HAR en jmail adresse som er
mail.friserverplads.dk
Det sidst nyeste problem er dette:
Jeg har oploadet mine 2 .asp filer jeg skal bruge for at sende mails til andre. Den ene hedder mailform.asp og den anden MailSend.asp.
Min mailform.asp fil virker udemærket, men når jeg trykker send og MailSend.asp filen bliver hentet får jeg følgende fejl:
jmail.SMTPMail error \'8000ffff\'
The message was undeliverable. All servers failed to receive the message
/step4ever/jmail/MailSend.asp, line 35
Min MailSend.asp fil ser sådan ud:
<html>
<head>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\">
<meta name=\"GENERATOR\" content=\"Microsoft FrontPage 4.0\">
<meta name=\"ProgId\" content=\"FrontPage.Editor.Document\">
<title>E</title>
</head>
<body text=\"#FFCC00\">
<%
Set JMail = Server.CreateObject(\"JMail.SMTPMail\")
JMail.ServerAddress = \"mail.friserverplads.dk\"
Name = Request.Form(\"name\")
SenderEmail = Request.Form(\"email\")
Subject = \"Emnet er: \" & Request.Form(\"subject\")
Recipient = Request.Form(\"recipient\")
email = Request.Form(\"email\")
Comments = Request.Form(\"comments\")
JMail.Sender = Senderemail
JMail.Subject = Subject
JMail.AddRecipient Recipient
JMail.Body = \"Name : \" & Request.Form(\"name\") & vbcrlf & vbcrlf _
& \"e-mail : \" & Request.Form(\"email\") & vbcrlf & vbcrlf _
& \"My Mesg.: \" & Request.Form(\"comments\")
JMail.Priority = 3
JMail.AddHeader \"Originating-IP\", Request.ServerVariables(\"REMOTE_ADDR\")
JMail.Execute
%>
<center>
<table border=\"1\" width=\"85%\" height=\"252\">
<tr>
<td width=\"26%\" align=\"center\" height=\"67\" bgcolor=\"#333399\"><b><font face=\"Times New Roman\" size=\"3\">
<font color=\"#00FF00\"><font face=\"Arial, geneva\" size=\"5\">E-mail Report<br>
</font><font face=\"Arial, geneva\" size=\"3\"> Send via your
domæne.dk </font></font><font color=\"#0000FF\"><br>
</font>
</b>
<td width=\"74%\" align=\"center\" height=\"67\" bgcolor=\"#333399\">
<font color=\"#FFFFFF\">Insert your LOGO</font></td>
</tr>
<tr>
<td width=\"26%\" height=\"1\" bgcolor=\"#C0C0C0\"><font face=\"Times New Roman\" size=\"3\"><b>
<font face=\"Times New Roman\" size=\"3\"><font color=\"#0000FF\">
Your Mail is send to :</font></font></b></font>
<td width=\"74%\" height=\"1\" bgcolor=\"#C0C0C0\"> <%= Recipient %><font color=\"#0000FF\"></font></td>
</tr>
<tr>
<td width=\"26%\" height=\"19\" bgcolor=\"#C0C0C0\">
<font color=\"#0000FF\"><b><font face=\"Times New Roman\" size=\"3\">
Send from
: </font><font size=\"3\"></font></b>
<td width=\"74%\" height=\"19\" bgcolor=\"#C0C0C0\"> <%= email %></td></tr>
<tr>
<td width=\"26%\" height=\"147\" bgcolor=\"#C0C0C0\"><b><font color=\"#0000FF\">
Msg
: ! </font></b></td>
<td width=\"74%\" height=\"147\" bgcolor=\"#C0C0C0\"> <%= comments %>
</td>
</tr>
</table>
<table border=\"1\" width=\"85%\">
<tr>
<td width=\"100%\" bgcolor=\"#FFCC00\" align=\"center\"> <font
color=\"#000000\" size=\"2\"><b>Webmaster: <a
href=\"mailto:admin@country-musiclink.dk\">admin@country-musiclink.dk</a>
Copyright: C-House</b></font></td>
</tr>
</table>
<table border=\"1\" width=\"85%\" height=\"35\">
<tr>
<td width=\"21%\" height=\"29\" bgcolor=\"#008000\">
<p align=\"center\"><b><i><font size=\"4\"
color=\"#00FFFF\">Go Back</font></i></b></p>
</td>
<td width=\"27%\" height=\"29\" bgcolor=\"#008000\">
<p align=\"center\"><b><i><font
color=\"#00FFFF\" size=\"4\">Pls. write to our</font></i></b></p>
</td>
<td width=\"52%\" height=\"29\" bgcolor=\"#008000\">
<p align=\"center\"><font color=\"#000000\">Guestbook
LOGO</font></p>
</td>
</tr>
</table>
</body>
</html>
HVAD ER FEJLEN??!!
Please hjælp!! Fra step!! :)
