Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: hMailServer does not show script error
PostPosted: 2012-04-05 14:34 
New user
New user

Joined: 2012-04-05 14:07
Posts: 4
Hello,

I am using hMailServer 5.3.3-B1879. I am using scripts for handling incoming messages. When the script has no errors, everything is OK. However when the script has some runtime errors, the messages are not handled, but the error log does not contain the location of the error within the script.

Here is the contents of the error log file:

"ERROR" 2816 "2012-04-05 16:30:14.585" "Script Error: Source: "ERROR" 2900 "2012-04-05 16:30:14.610" "Script Error: Source:

As I searched in web, the source of error (VBScript error: ..... line .., col ..) should be shown.

The logging is enabled. What I am doing wrong?

Thanks,
Vsevolod


Top
 Profile  
 
 Post subject: Re: hMailServer does not show script error
PostPosted: 2012-04-07 08:21 
Moderator
User avatar

Joined: 2007-06-14 05:12
Posts: 9362
Location: 'The Outback' Australia
did you check syntax when you reloaded the script?

_________________
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
Documentation


Top
 Profile  
 
 Post subject: Re: hMailServer does not show script error
PostPosted: 2012-04-07 09:03 
New user
New user

Joined: 2012-04-05 14:07
Posts: 4
Thank you for the reply. I checked the syntax after reloading scripts. The syntax is correct. I am talking about runtime errors like "Access denied while trying to write into a file". Currently, when a runtime error occurs, I can not locate and fix it.

I used Windows 7 and Windows 2008 Server.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


Who is online

Users browsing this forum: No registered users and 5 guests



Search for:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group