Author |
Topic  |
|
cassie
Starting Member
USA
9 Posts |
Posted - 03 January 2006 : 15:21:22
|
I just set up a new forum last week, but none of my e-mail functions work. When I try to send an e-mail to the admin from a regular user account, I get the following error message:
Active Server Pages error 'ASP 0115'
Unexpected error
/forum/pop_mail.asp
A trappable error (C0000005) occurred in an external object. The script cannot continue running.
Active Server Pages error 'ASP 0240'
Script Engine Exception
/forum/pop_mail.asp
A ScriptEngine threw expection 'C0000096' in 'IActiveScript::Close()' from 'CActiveScriptEngine::FinalRelease()'.
All other e-mails (forgotten password, admin to user, e-mail validation, etc.) give a confirmation page but don't go through to the e-mail account. I have my e-mail component set to aspqmail (not sure if this is right, but it was the only one that allowed me to change my admin's e-mail address in the admin profile). The e-mail mode is set to on. I'm using the newest version with an Access database.
Does anyone have any idea what I need to do to fix this? I'm asp illiterate, so if you do have a suggestion or solution give me baby steps to fix it. I mean really, really simple steps. |
|
Podge
Support Moderator
    
Ireland
3776 Posts |
|
cassie
Starting Member
USA
9 Posts |
Posted - 04 January 2006 : 09:07:47
|
There is ASPMail, CDONTS(IIS3/4/5), Chili!Mail(Chili!SoftASP) & CDOSYS(IIS5/5.1/6). I went through and tried them all when I first set up my forum, but none of them worked. Is there something else I'm missing? My forum is at www.rushingmarine.com/forum if that helps any. |
 |
|
Podge
Support Moderator
    
Ireland
3776 Posts |
|
cassie
Starting Member
USA
9 Posts |
Posted - 04 January 2006 : 12:55:47
|
I've switched the component to CDOSYS and have tried using the e-mail functions but they still don't work. Is there maybe something in the code that I have to change??? |
 |
|
Podge
Support Moderator
    
Ireland
3776 Posts |
|
cassie
Starting Member
USA
9 Posts |
Posted - 04 January 2006 : 16:54:19
|
I tried this from the post you linked to previously:
"Another suggestion you might try.
Change this line (in the cdosys part of inc_mail.asp)
On Error Resume Next
to
On Error goto 0"
and got the following error message:
CDO.Message.1 error '80040213'
The transport failed to connect to the server.
/forum/inc_mail.asp, line 142,
Line 142 of my inc_mail.asp file is this: objNewMail.Send
Any thoughts? Thank you so much for helping me.
|
 |
|
Podge
Support Moderator
    
Ireland
3776 Posts |
|
cassie
Starting Member
USA
9 Posts |
Posted - 05 January 2006 : 09:25:27
|
I've checked it and it's right. Is there a different e-mail component that I can get that will work better than this? Or is it even an e-mail component problem? I don't know anything about this stuff, so I'm not sure what to try and what to leave alone. |
 |
|
Podge
Support Moderator
    
Ireland
3776 Posts |
|
cassie
Starting Member
USA
9 Posts |
Posted - 05 January 2006 : 11:40:59
|
No, there isn't a firewall blocking the server.
http://www.webhosting.com/WHCWEB/shared/support/faq/cgi_scripts.jsp#cgiaspmail This is the link to using ASPMail with sbc, our web hosting server.
I tried using ASPMail and setting it up this way in the inc_mail.asp file, but to no avail (at least I think I tried, I followed their directions and modified the file the best I knew how).
This is what it looked like: case "aspmail" 'This is the one that I typed in using the sbc help page Set Mailer = Server.CreateObject("SMTPsvg.Mailer") Mailer.FromName = strFromName Mailer.FromAddress = strSender Mailer.Subject = strSubject Mailer.BodyText = strMessage Mailer.RemoteHost = strMailServer Mailer.AddRecipient strRecipientsName, strRecipients if Mailer.SendMail then 'Message sent successfully response.write ("Your message was sent") response.write ("The error was: "& Mailer.Response) end if
|
 |
|
cassie
Starting Member
USA
9 Posts |
Posted - 05 January 2006 : 11:58:00
|
I was just playing with settings and changing stuff and got one e-mail to go through. So I left everything alone and tried again, but the second try never worked. This is so frustrating!!!
I was using the aspmail component script that snitz provided, not the one I posted above. |
 |
|
cassie
Starting Member
USA
9 Posts |
Posted - 05 January 2006 : 12:11:22
|
Yeah! For some odd reason everything is working now! I can't explain it, but maybe it's a miracle from the computer gods! Either that or my computer knew I was going to throw it through the window if it didn't start cooperating!
Thanks for all you help! |
 |
|
Podge
Support Moderator
    
Ireland
3776 Posts |
|
|
Topic  |
|