RE: ASPmail help (Full Version)

All Forums >> [Web Development] >> ASP and Database



Message


Sandalwood -> RE: ASPmail help (3/9/2005 14:05:22)

Nope!




Sandalwood -> RE: ASPmail help (3/9/2005 14:12:26)

Using the component checker script you guys referred me to, I saw that CDONTS.NewMail
was installed, so I tried the script below. Didn't get any email from that, either. In fact, the page wouldn't even display.



<%
Set objNewMail = CreateObject("CDONTS.NewMail")
objNewMail.Send "dave@flyadvertising.com", "Hello", _
"I sent this in 3 statements!", 0 ' low importance
Set objNewMail = Nothing ' DO NOT reuse the object for another message
%>

<html>

<head>
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 2</title>
</head>

<body>

<p>test 2</p>

</body>

</html>




rdouglass -> RE: ASPmail help (3/9/2005 14:18:31)

If you do have CDONTS, try this script:

<%
Dim myMail

Set myMail = CreateObject("CDONTS.NewMail")
myMail.BodyFormat = 1
myMail.MailFormat = 1
myMail.From = "dave@flyadvertising.com"
myMail.To = "dave@flyadvertising.com"
myMail.Subject = "CDONTS Test"
myMail.Body = "Here is your test message from CDONTS."
myMail.Send
Set myMail = Nothing
Response.Write("OK")
%>




Sandalwood -> RE: ASPmail help (3/9/2005 14:33:18)

I get a "The page cannot be displayed" message.




dzirkelb1 -> RE: ASPmail help (3/9/2005 14:34:50)

Did you put the script in a brand new page and try that?




Sandalwood -> RE: ASPmail help (3/9/2005 14:39:54)

Yes, here is the script followed by the URL:

<%
Dim myMail

Set myMail = CreateObject("CDONTS.NewMail")
myMail.BodyFormat = 1
myMail.MailFormat = 1
myMail.From = "dave@flyadvertising.com"
myMail.To = "dave@flyadvertising.com"
myMail.Subject = "CDONTS Test"
myMail.Body = "Here is your test message from CDONTS."
myMail.Send
Set myMail = Nothing
Response.Write("OK")
%>

<html>

<head>
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 2</title>
</head>

<body>

<p>test </p>

</body>

</html>



http://www.adminpanels.com/test3.asp






rdouglass -> RE: ASPmail help (3/9/2005 14:51:57)

You need to turn freindly messages off. I got a "Permission Denied" error.

EDIT: Try this one:

<%
Dim myMail

Set myMail = CreateObject("CDONTS.NewMail")
myMail.BodyFormat = 1
myMail.MailFormat = 1
myMail.From = "info@adminpanels.com"
myMail.To = "dave@flyadvertising.com"
myMail.Subject = "CDONTS Test"
myMail.Body = "Here is your test message from CDONTS."
myMail.Send
Set myMail = Nothing
Response.Write("OK")
%>




Sandalwood -> RE: ASPmail help (3/9/2005 14:57:48)

Turned off Friendly Messages and got the Permission Denied message, too. Here is line 11

"myMail.Send "





rdouglass -> RE: ASPmail help (3/9/2005 15:03:51)

quote:

Permission Denied


That's the key. Can you check with your host?




dzirkelb1 -> RE: ASPmail help (3/9/2005 15:14:06)

Try this script:


<%
Set objCDOMail = Server.CreateObject("CDONTS.NewMail")
objCDOMail.To = "davezirkelbach@msultd.com"
objCDOMail.From = "dave@flyadvertising.com"
objCDOMail.Subject = "Test"
objCDOMail.Body = "Test"
objCDOMail.BodyFormat = 0
objCDOMail.MailFormat = 0
objCDOMail.Send
Set objCDOMail = Nothing
%>

Put that as your only code on the page, no html or anything,...open the page, and hopefully no errors happen / I get an email titled "test"




Sandalwood -> RE: ASPmail help (3/9/2005 15:38:34)

Getting the same "Permission Denied" error for this page, http://www.adminpanels.com/test4.asp.




Sandalwood -> RE: ASPmail help (3/9/2005 15:57:46)

Was just on with Earthlink tech support for the 4th time and got a 4th answer. However, this time it was the correct one! I had been given the incorrect SMTP server all along. Once they gave mw the correct info, the aspmail component worked fine.


Thanks to all who helped! Outfront is awesome!





paulie -> RE: ASPmail help (3/9/2005 16:20:54)

I'm glad you stuck it out. I've been on the edge of dropping my monitor out the window many times in similar situations.

This place has prevented that from happening more than once!




dzirkelb1 -> RE: ASPmail help (3/9/2005 16:54:56)

I agree! It sucks that tech support for different places are soooo by the book, meaning, they don't even listen to what you have to say. They go into their tier'd troubleshooting and assume it must be this problem.

The other day I called AOL to look for some sort of setting to allow scripted emails to come in (aol account was restricting cdonts emails somehow, not putting it into a spam folder, just not getting it at all yet all other email addresses got it fine) and they said, "email yourself form your account"..me, following along, did, and said I got it. They say, "well, looks like problem is fixed"...I again, repeated myself....over...and over...and over...until I gave up and went to aspemail :)




Page: <<   < prev  1 [2]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.078125