Hej
Hvad er der galt med følgende:
****************************************************************************
**
<html>
<head>
<title>ASP Mailer Form Test</title>
<head>
<body>
<p>
<%
Set Upload = Server.CreateObject("Persits.Upload.1")
Count = Upload.SaveVirtual("/demo/test/")
%>
<%
Set Mailer = Server.CreateObject("SMTPsvg.Mailer")
Mailer.RemoteHost = "mail.herbor.dk"
Mailer.FromName = "navn"
Mailer.FromAddress = "navn@herbor.dk"
Mailer.AddRecipient Request.QueryString("tilnavn"),
Request.QueryString("tiladresse")
Mailer.Subject = "
"
Mailer.BodyText = Request.QueryString("besked")
Mailer.CharSet = 2
if not Mailer.SendMail then
Response.Write " Mailing Failed... Error is: <br>"
Response.Write Mailer.Response
else
Response.Redirect "emailmain.asp"
end if
Set Mailer = nothing
%>
</body>
</html>
****************************************************************************
**
Jeg håber at der er en der kan hjælpe.
-Ole F