|
| |
|
|
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?
|
|
|
|
dzirkelb1
Posts: 1296 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.
|
|
|
|
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>
|
|
|
|
dzirkelb1
Posts: 1296 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.
|
|
|
|
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
_____________________________
|
|
|
|
dzirkelb1
Posts: 1296 Joined: 10/5/2004 From: Cedar Rapids, Iowa Status: offline
|
RE: ASPmail help - 3/7/2005 11:21:22
ya, that too :)
|
|
|
|
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?
|
|
|
|
dzirkelb1
Posts: 1296 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
|
|
|
|
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?
|
|
|
|
dzirkelb1
Posts: 1296 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
|
|
|
|
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?
|
|
|
|
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 >
_____________________________
|
|
|
|
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.
_____________________________
|
|
|
|
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>
_____________________________
|
|
|
|
rdouglass
Posts: 9167 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.
|
|
|
|
rdouglass
Posts: 9167 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.
|
|
|
|
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
|
|
|
|
rdouglass
Posts: 9167 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.
|
|
|
|
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?
|
|
|
|
rdouglass
Posts: 9167 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.
|
|
|
|
dzirkelb1
Posts: 1296 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 :)
|
|
|
|
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!
|
|
|
|
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"
|
|
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
|
|
|