|
rdouglass -> RE: Why..oh why can' t I send mail from an asp page? (6/28/2002 10:13:04)
|
Post been here a little while...are you still here?[:)] What happens when you try to send a simple CDONTS message? Make a very simple ASP page with just this code on it, replace with your email addresses, and check for a message: <html>
<head>
<title>CDONTS Test</title>
</head>
<body>
<%
Dim myMail
Set myMail = CreateObject(" CDONTS.NewMail" )
myMail.BodyFormat = 1
myMail.MailFormat = 1
myMail.From = " billg@microsoft.com"
myMail.To = " me@mydomain.com"
myMail.Subject = " Email Test"
myMail.Body = " Here is your test message."
myMail.Send
Set myMail = Nothing
Response.Write(" OK" )
%>
</body>
</html>
Run the page. You should get a page with " OK" on it as well as an email message. If that works, we' ll go from there. If that doesn' t work, you probably have a problem with CDONTS configs.
|
|
|
|