navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

ASPmail help

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> ASPmail help
Page: [1] 2   next >   >>
 
Sandalwood

 

Posts: 233
Joined: 12/18/2002
From: New Jersey!
Status: offline

 
ASPmail help - 3/4/2005 16:36:07   
I am having trouble setting up ASPemail for a client. I have used CDONTS in the past, but my current host, Earthlink, does not support this.

I am on the site, aspemail.com and kind of confused. Do I have to download something to my machine, even when it is for a client?
Spooky

 

Posts: 26599
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: ASPmail help - 3/4/2005 18:07:22   
No, just check the manual there for some test scripts

eg : http://www.aspemail.com/manual_02.html

The basic script is :

    Set Mail = Server.CreateObject("Persits.MailSender")
   Mail.Host = strHost
   Mail.From = Request("From") ' From address
   Mail.FromName = Request("FromName") ' optional
   Mail.AddAddress Request("To")
   Mail.Subject = Request("Subject")
   Mail.Body = Request("Body")
   strErr = ""
   bSuccess = False
   On Error Resume Next ' catch errors
   Mail.Send ' send message
    If Err <> 0 Then ' error occurred
      strErr = Err.Description
   else
      bSuccess = True
   End If


_____________________________

If you arent part of the solution, then there is good money to be made prolonging the problem

§þ:)


(in reply to Sandalwood)
dzirkelb1

 

Posts: 1300
Joined: 10/5/2004
From: Cedar Rapids, Iowa
Status: offline

 
RE: ASPmail help - 3/7/2005 11:05:42   
aspemail uses a .dll file which has to be on the host machine which is running the script just like cdonts does. So, if the machine hosting the site doesnt have the .dll, then it probably won't work.

(in reply to Spooky)
Sandalwood

 

Posts: 233
Joined: 12/18/2002
From: New Jersey!
Status: offline

 
RE: ASPmail help - 3/7/2005 11:07:22   
I get this error message:

Server object error 'ASP 0177 : 800401f3'

Server.CreateObject Failed

/test.asp, line 2

Invalid ProgID. For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp.




Here is my code:

<%
Set Mail = Server.CreateObject("Persits.MailSender")
Mail.Host = adminpanels.com
Mail.From = "info@adminpanels.com"
Mail.FromName = "Info"
Mail.AddAddress = "info@adminpanels.com"
Mail.Subject = "test"
Mail.Body ="Body"
strErr = ""
bSuccess = False
On Error Resume Next ' catch errors
Mail.Send ' send message
If Err <> 0 Then ' error occurred
strErr = Err.Description
else
bSuccess = True
End If
%>

<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>

(in reply to Spooky)
dzirkelb1

 

Posts: 1300
Joined: 10/5/2004
From: Cedar Rapids, Iowa
Status: offline

 
RE: ASPmail help - 3/7/2005 11:20:38   
I'm pretty sure that means it can't find the .dll file included in the download for the aspemail which has to be on the machine running the script.

(in reply to Sandalwood)
paulie

 

Posts: 558
Status: offline

 
RE: ASPmail help - 3/7/2005 11:20:41   
quote:

Mail.Host = adminpanels.com


This needs to be the address or IP of your mail server, like

mail.adminpanels.com or xxx.xxx.xxx.xxx

HTH,
Paul

_____________________________


(in reply to Sandalwood)
dzirkelb1

 

Posts: 1300
Joined: 10/5/2004
From: Cedar Rapids, Iowa
Status: offline

 
RE: ASPmail help - 3/7/2005 11:21:22   
ya, that too :)

(in reply to paulie)
Sandalwood

 

Posts: 233
Joined: 12/18/2002
From: New Jersey!
Status: offline

 
RE: ASPmail help - 3/7/2005 11:53:48   
My host, Earthlink, sent me this link when I asked for the mail server:

http://dnsstuff.com/tools/lookup.ch?name=adminpanels.com&type=MX

They said to use adminpanels.com in the code, but I didn't believe it either. Does this link tell me anything?

(in reply to dzirkelb1)
dzirkelb1

 

Posts: 1300
Joined: 10/5/2004
From: Cedar Rapids, Iowa
Status: offline

 
RE: ASPmail help - 3/7/2005 12:58:34   
I'd try dns1.earthlink.net or variations of those

(in reply to Sandalwood)
Sandalwood

 

Posts: 233
Joined: 12/18/2002
From: New Jersey!
Status: offline

 
RE: ASPmail help - 3/7/2005 13:20:07   
Operation keeps timing out?

(in reply to dzirkelb1)
dzirkelb1

 

Posts: 1300
Joined: 10/5/2004
From: Cedar Rapids, Iowa
Status: offline

 
RE: ASPmail help - 3/7/2005 14:00:35   
Its probably something they have there...maybe its mx01-dom.earthlink.net

Also, try smtpauth.earthlink.net

(in reply to Sandalwood)
Sandalwood

 

Posts: 233
Joined: 12/18/2002
From: New Jersey!
Status: offline

 
RE: ASPmail help - 3/7/2005 14:04:33   
Mail send failure. Error was [11001] Host not found



AAAAAAArrrrrrrrrgh!:)

(in reply to dzirkelb1)
Spooky

 

Posts: 26599
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: ASPmail help - 3/7/2005 19:55:44   
The first error would suggest that they dont support that component.

_____________________________

If you arent part of the solution, then there is good money to be made prolonging the problem

§þ:)


(in reply to Sandalwood)
Sandalwood

 

Posts: 233
Joined: 12/18/2002
From: New Jersey!
Status: offline

 
RE: ASPmail help - 3/8/2005 9:15:34   
Their (Earthlink's) tech support told me they don't support CDONTS, and sent me this link:
http://www.serverobjects.com/comp/Aspmail4.htm

Is there a script to test if this component is installed or running or is there another option?

(in reply to Spooky)
paulie

 

Posts: 558
Status: offline

 
RE: ASPmail help - 3/8/2005 9:25:23   
Oh, your host supports ASPMail, and we've been giving you support for ASPEmail, a different script altogether.

You should be fine if you disregard everything we've advised and just follow the directions for ASPMail.

I found a script once that would show you every mail component installed on a given server. Let me see if I can find that...

<edit>
Here's one:
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=8976&lngWId=4
</edit>

HTH,
Paul

< Message edited by paulie -- 3/8/2005 9:31:42 >


_____________________________


(in reply to Sandalwood)
Sandalwood

 

Posts: 233
Joined: 12/18/2002
From: New Jersey!
Status: offline

 
RE: ASPmail help - 3/8/2005 10:23:09   
Here are the results:

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

(in reply to paulie)
paulie

 

Posts: 558
Status: offline

 
RE: ASPmail help - 3/8/2005 10:30:23   
quote:

SMTPsvg.Mailer


So that confirms that they support ASPMail, but not Persits ASPEmail.
I would try the sample script on the link they sent that you posted above. Should work, and if it doesn't, they (Earthlink tech support) should be able to tell you why not.

BTW, that component checker lists every component on the server, not just mail script handlers. That was a little more info than you needed - sorry about that.

_____________________________


(in reply to Sandalwood)
Sandalwood

 

Posts: 233
Joined: 12/18/2002
From: New Jersey!
Status: offline

 
RE: ASPmail help - 3/8/2005 12:38:42   
OK, I got this script (below) and it seems that SMTPsvg.Mailer appears on the list. However, still getting an Operation Timed Out error. Earthlink support says they do not provide support for scripting errors. What a quandary!:)

<%
Set Mailer = Server.CreateObject("SMTPsvg.Mailer")
Mailer.FromName = "Joe’s Widgets Corp."
Mailer.FromAddress= "info@adminpanels.com"
Mailer.RemoteHost = "mx01-dom.earthlink.net"
Mailer.AddRecipient "John Smith", "info@adminpanels.com"
Mailer.Subject = "Great SMTP Product!"
Mailer.BodyText = "Dear Stephen" & VbCrLf & "Your widgets order has been processed!"
if Mailer.SendMail then
Response.Write "Mail sent..."
else
Response.Write "Mail send failure. Error was " & Mailer.Response
end if
%>

<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>

(in reply to paulie)
paulie

 

Posts: 558
Status: offline

 
RE: ASPmail help - 3/8/2005 12:56:18   
quote:

Earthlink support says they do not provide support for scripting errors


That's what you get without a dedicated hosting provider. It's tempting to save a few $ by using the space that comes with your ISP connection, but when you need more than just static .htm pages, it isn't worth the money you save.

In their defense though, mosts hosts don't support scripting errors once they've hooked you up with the components available. They tend to assume you know what you're doing (boy have I proved them wrong!) The good news is that you can almost always find an answer here or elsewhere on the Internet.

I don't have experience with this particular email script, but I would say that it is probably timing out because it can't find the mail server to send from. Try a few different values for the remotehost.

<edit>
Just a thought, but this line puzzles me:

if Mailer.SendMail then...

Is this a true condition? If not, it will never send.
</edit>



_____________________________


(in reply to Sandalwood)
rdouglass

 

Posts: 9224
From: Biddeford, ME USA
Status: offline

 
RE: ASPmail help - 3/8/2005 13:14:18   
quote:

Mailer.BodyText = "Dear Stephen" & VbCrLf & "Your widgets order has been processed!"


Just one quick thing I'd try is taking the VbCrLf out and trying to replace it with ASCII equivalent:

Mailer.BodyText = "Dear Stephen" & CHR(010) & CHR(013) & "Your widgets order has been processed!"

Also, without knowing the engine it's hard to tell. However, I too would be suspect of the conditional statement. Try remarking out the IF...THEN statement to see if it'll send anything then.

</$.02>

_____________________________

Don't take you're eye off your final destination.

ASP Checkbox Function Tutorial.

(in reply to paulie)
rdouglass

 

Posts: 9224
From: Biddeford, ME USA
Status: offline

 
RE: ASPmail help - 3/8/2005 13:17:09   
quote:

Mailer.FromAddress= "info@adminpanels.com"
Mailer.RemoteHost = "mx01-dom.earthlink.net"


Another thing that may be an issue; is info@adminpanels.com a user on earthlink? Many mail hosts don't allow sending/relaying unless they're "local users" - SPAM prevention and all that.

Just more $.02 - hope it helps.

_____________________________

Don't take you're eye off your final destination.

ASP Checkbox Function Tutorial.

(in reply to rdouglass)
Sandalwood

 

Posts: 233
Joined: 12/18/2002
From: New Jersey!
Status: offline

 
RE: ASPmail help - 3/8/2005 13:31:57   
You're so right, Paulie! Unfortunately, this is a client's site and I didn't have a vote in who does their hosting.

rdouglass, the script is no longer timing out... but it's not sending, either. Perhaps the mail host is incorrect. Can anyone tell me anything from this:
http://dnsstuff.com/tools/lookup.ch?name=adminpanels.com&type=MX


(in reply to rdouglass)
rdouglass

 

Posts: 9224
From: Biddeford, ME USA
Status: offline

 
RE: ASPmail help - 3/8/2005 13:50:48   
quote:

rdouglass, the script is no longer timing out... but it's not sending, either.


Have you tried any of my other suggestions?

_____________________________

Don't take you're eye off your final destination.

ASP Checkbox Function Tutorial.

(in reply to Sandalwood)
Sandalwood

 

Posts: 233
Joined: 12/18/2002
From: New Jersey!
Status: offline

 
RE: ASPmail help - 3/8/2005 15:05:28   
adminpanels.com is hosted by Earthlink, and info@adminpanels.com was created in the Earthlink control panel. If Earthlink isn't my ISP, though, I won't be able to get an "@earthlink.net" email address, would I?

(in reply to rdouglass)
rdouglass

 

Posts: 9224
From: Biddeford, ME USA
Status: offline

 
RE: ASPmail help - 3/8/2005 15:22:27   
I may be way off base with a fix but I do know for sure that many email hosts will not relay mail for any address not in their local domain. So no, in fact they may NOT allow that email address to relay. When you're using a server mail package, AFAIK you are indeed relaying and not a "client".

That by all means doesn't mean EarthLink is like that.

For instance, my mail server refuses any emails not sent from an address ending with (at)clarkinsurance(dot)com reguardless if they're from a client or server. Just thinking that would be a very quick and easy check - try replacing that adminpanels thing with your earthlink email address.

Hey its a very quick check.

_____________________________

Don't take you're eye off your final destination.

ASP Checkbox Function Tutorial.

(in reply to Sandalwood)
dzirkelb1

 

Posts: 1300
Joined: 10/5/2004
From: Cedar Rapids, Iowa
Status: offline

 
RE: ASPmail help - 3/8/2005 15:27:05   
especially with earthlink and their spam policies...prolly the same with aol; however, hotmail works on cdonts at least :)

(in reply to rdouglass)
Sandalwood

 

Posts: 233
Joined: 12/18/2002
From: New Jersey!
Status: offline

 
RE: ASPmail help - 3/8/2005 18:17:14   
Since my ISP isn't Earthlink, I don't have an Earthlink email. I put in info@earthlink.net to test it out, but no luck yet. I will try using all of the addresses listed here: http://dnsstuff.com/tools/lookup.ch?name=adminpanels.com&type=MX

Not sure what I would do if it wasn't for OutFront's forums!

(in reply to dzirkelb1)
danrendrag

 

Posts: 24
Joined: 6/2/2004
From: Atlanta, Georgia USA
Status: offline

 
RE: ASPmail help - 3/8/2005 18:57:24   
Try - Mailer.RemoteHost = "localhost"
or Mailer.RemoteHost = "127.0.0.1"

(in reply to Sandalwood)
Sandalwood

 

Posts: 233
Joined: 12/18/2002
From: New Jersey!
Status: offline

 
RE: ASPmail help - 3/9/2005 13:42:37   
Still nothin'. :)

(in reply to danrendrag)
rdouglass

 

Posts: 9224
From: Biddeford, ME USA
Status: offline

 
RE: ASPmail help - 3/9/2005 13:54:51   
quote:

Since my ISP isn't Earthlink, I don't have an Earthlink email.


As just another test (since it looks like we're running out of options :)) try putting in YOUR ISP info and your email address for the From address and mail host. If you're using your legit account, it may work.

Again, just another guess but what have you to lose; another 20 minutes? Hope it helps.

_____________________________

Don't take you're eye off your final destination.

ASP Checkbox Function Tutorial.

(in reply to Sandalwood)
Page:   [1] 2   next >   >>

All Forums >> Web Development >> ASP and Database >> ASPmail help
Page: [1] 2   next >   >>
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts