| | |
|
Active Server Pages ASP a directory of ASP tutorials applications scripts components and articles for the novice to professional developer. CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
CDONTS.Newmail (ASP3.0) |
From: |
Mark Wills |
Date: |
2/4/2001 8:30:07 PM |
IP: |
62.64.144.230 |
Hi,
I have a problem with the CDONTS mail component.
I am running on Win 2000 pro, with IIS5.
When I send an email with the .send method, it gets sent to badmail folder in \inetpub\mailroot
However, there is no explanation given at all as to what the problem is.
The problem is the same if I run it on my web server at home, or on my live web server.
The strange thing is - NO error is issued by IIS/ASP at all - the page runs fine - it's just that the mail never gets out of the server.
Can anyone help?
You can check the page out by going to http://www.mppsystems.co.uk and clicking the contact button.
Here is the code for that page:<% Option Explicit %>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#CCFFFF">
<!--#include file="header.asp" --><!--#include file="dataconn.asp" -->
<% 'validate email address and raise error if neccessary:
Dim Temp, AtPos, ErrorIssued, lngStaffID, strEmailTo, strSubject, strBody, lngImportance, objEmail
Temp=request.form("txtEmail")
ErrorIssued=False
If Temp="" Then 'email address missing
Response.Write("<img src=""images/hdr_woops.gif"" width=""477"" height=""51"">")
Response.Write("<font face=""Arial, Helvetica, sans-serif"" size=""2"">")
Response.Write("<p>Oops! It looks like you forgot to include your email address. We need your")
Response.Write(" email address so that we can |
|
|

|
|
|
|