Search found 11 matches

by DAHN
2019-08-26 15:56
Forum: Scripting
Topic: Critical error when eventhandlers is running my script
Replies: 24
Views: 2163

Re: Critical error when eventhandlers is running my script

Yes - it works shortly after reboot. After restarting the server (OS) the script seems ok. I manage to send about 2-3 test emails to that email address with the content 'test' written in the database of the script - and a little later the mentioned errors occur and the mail server goes down and no l...
by DAHN
2019-08-26 14:30
Forum: Scripting
Topic: Critical error when eventhandlers is running my script
Replies: 24
Views: 2163

Re: Critical error when eventhandlers is running my script

Thank you for your answer. My job is that I have a server that receives a mail every night from another server outside the network, which contains a link to something my server needs to download and load into the database. The URL in the email is always different - with different query string. So my...
by DAHN
2019-08-25 17:31
Forum: Scripting
Topic: Critical error when eventhandlers is running my script
Replies: 24
Views: 2163

Re: Critical error when eventhandlers is running my script

I have now tried with the old hmailserver 5.6.7 and also with the new 5.7 - but it still generates the same errors and dmp-files and still causes hmailserver stops working... "ERROR" 4284 "2019-08-25 16:51:32.097" "Severity: 2 (High), Code: HM4208, Source: ExceptionHandler::Run, Description: An erro...
by DAHN
2019-08-22 23:17
Forum: Scripting
Topic: Critical error when eventhandlers is running my script
Replies: 24
Views: 2163

Re: Critical error when eventhandlers is running my script

Hello I have now added "Provider=MSDASQL;" - so now it looks like this..: MyDBDrv = "Provider=MSDASQL;Driver={MySQL ODBC 8.0 Unicode Driver};Server=localhost;Database=inbound_emails;User=**********;Password=*********;Option=3;" - to ensure it uses the correct 32bit driver. It still generate errors a...
by DAHN
2019-08-21 02:17
Forum: Scripting
Topic: Critical error when eventhandlers is running my script
Replies: 24
Views: 2163

Re: Critical error when eventhandlers is running my script

I have tried the following script - and it still generates Critical errors - and hmailserver stops running - and then I have to reboot the server... Sub OnAcceptMessage(oClient, oMessage) Dim MyDBDrv, oConn, e_body MyDBDrv = "Driver={MySQL ODBC 8.0 Unicode Driver};Server=localhost;Database=inbound_e...
by DAHN
2019-08-20 00:55
Forum: Scripting
Topic: Critical error when eventhandlers is running my script
Replies: 24
Views: 2163

Re: Critical error when eventhandlers is running my script

Hello palinka Thank you for your suggestion. But unfortunately that doesn't work either. As I see it (https://www.hmailserver.com/documentation/latest/?page=scripting_onSMTPdata) oMessage.Body is not an option in the OnSMTPData Sub. But I have another question now... I have looked in the documentati...
by DAHN
2019-08-19 13:50
Forum: Scripting
Topic: Critical error when eventhandlers is running my script
Replies: 24
Views: 2163

Critical error when eventhandlers is running my script

Hi I am trying to create a simple script in the "EventHandlers.vbs" file which should write the message.body to a database... Sometimes it works when an email is received but other times i generates a critical error - and then hmailserver stops working - and I have to reboot the OS on the server to ...
by DAHN
2019-05-08 14:35
Forum: General discussions
Topic: Cant start hMailserver Administrator
Replies: 9
Views: 1307

Re: Cant start hMailserver Administrator

Hello Thank you for your help so far. I have now tried to remove and then delete .NET framework 3.5 - and here is a screenshot of that: hmailserver2.jpg I have then installed hMailserver again version 5.6.7 Build 2425. And when I try to open hMailserver Administrator it appears like this on the serv...
by DAHN
2019-04-25 03:06
Forum: General discussions
Topic: Cant start hMailserver Administrator
Replies: 9
Views: 1307

Re: Cant start hMailserver Administrator

There is no error-log in the hMailserver directory to see. And the event-viewer in Windows doesn't say anything about hMailserver Administrator either... Yes - I deleted the mainfolder before I reinstalled it. Yes it was possible to run the DBSetup - and DBSetup did also ask for the Administrator pa...
by DAHN
2019-04-20 05:30
Forum: General discussions
Topic: Cant start hMailserver Administrator
Replies: 9
Views: 1307

Re: Cant start hMailserver Administrator

Thank you for your answer. I have also tried to install hMailserver where I choosed "Use built-in database engine (Microsoft SQL compact)" when I installed it - and the same problem appears - that I cant open hMailserver Administrator... The MySQL 8 is configured to use Legacy authentication method....
by DAHN
2019-04-19 00:12
Forum: General discussions
Topic: Cant start hMailserver Administrator
Replies: 9
Views: 1307

Cant start hMailserver Administrator

Hi I have a server with Windows Server 2012 R2 64bit - and hMailserver has been installed and has worked fine for several years now. The hMailserver is configured to connect to a MySQL 8 server as 'localhost' (MySQL is installed on the same server). But now I suddenly cant start hMailserver Administ...