| Author |
Topic Search Topic Options
|
nitrolx
Newbie
Joined: 16 April 2005
Location: Australia
Status: Offline
Points: 5
|
Post Options
Thanks(0)
Quote Reply
Topic: Database error (I think) Posted: 16 April 2005 at 7:32pm |
Hi all,
I've just put together my first WWF forum, and all is going well except when I or any user tries to reply to some posts, I get the following error displayed:
error '8004020f'
/functions/functions_send_mail.asp, line 136
The post is still added to the forum, but the above error is displayed instead of going back to the forum. It seems to only happen in some user's posts.
Any help would be much appreciated,
Cheers,
Ryan Taylor
|
 |
dj air
Senior Member
Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
|
Post Options
Thanks(0)
Quote Reply
Posted: 16 April 2005 at 7:36pm |
|
this is a error with the email part of the forum.
you can either turn off email functions and that will solve it
or
you can make sure that the email configuration within the admin area is
correct and that you are using a email component supported by your host.
it may also be that there is a problem with your mail server at present, or as this happened all the time?
also do you have email address validation enabled so that they need to be checked to activate accounts?
|
 |
MadDog
Mod Builder Group
Joined: 01 January 2002
Status: Offline
Points: 3008
|
Post Options
Thanks(0)
Quote Reply
Posted: 16 April 2005 at 7:38pm |
|
most likely this error is caused because his email server requires authentication and the code needs to be edited.
|
|
|
 |
nitrolx
Newbie
Joined: 16 April 2005
Location: Australia
Status: Offline
Points: 5
|
Post Options
Thanks(0)
Quote Reply
Posted: 16 April 2005 at 7:45pm |
Thank you for the very prompt reply.
Email notification seems to work for myself and some other users, so I think the email sending part is working.
I've changed to a different SMPT server, just to be sure though. We'll see how that goes.
I host locally, on a windows server 2003 machine with iis. I use the CDOSYS component. Is there anything I need to do on the server to make this work properly?
Cheers,
Ryan Taylor
|
 |
dj air
Senior Member
Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
|
Post Options
Thanks(0)
Quote Reply
Posted: 16 April 2005 at 7:52pm |
|
if its installed it should be ok.
just make sure that the SMTP server is correct.
have you set up server authentication like MadDog said,.
if so you need to modify the code. i dont think you have.
its a little weird its now and then
|
 |
nitrolx
Newbie
Joined: 16 April 2005
Location: Australia
Status: Offline
Points: 5
|
Post Options
Thanks(0)
Quote Reply
Posted: 16 April 2005 at 7:58pm |
I haven't modified the code.
Which file and what modifications are required??
Cheers,
Ryan Taylor
|
 |
dj air
Senior Member
Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
|
Post Options
Thanks(0)
Quote Reply
Posted: 17 April 2005 at 9:09am |
right i have deleted your new topic and am posting here.
to add authentication
between lines 106 ad 116 of functions/function_send_mail.asp
add the fllowing after line 108
' Specify the
authentication mechanism to basic (clear-text) authentication cdoBasic
= 1
.Fields("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate")
= 1
'SMTP
Server username
.Fields("http://schemas.microsoft.com/cdo/configuration/sendusername")
= "enter username"
'SMTP
Server password
.Fields("http://schemas.microsoft.com/cdo/configuration/sendpassword")
= "enter Password"
|
Edited by dj air - 17 April 2005 at 9:10am
|
 |
nitrolx
Newbie
Joined: 16 April 2005
Location: Australia
Status: Offline
Points: 5
|
Post Options
Thanks(0)
Quote Reply
Posted: 17 April 2005 at 9:17am |
Thank you very much for your help!!
Cheers,
Ryan Taylor
|
 |