Search found 8 matches

by Krazy-J
2007-10-24 15:42
Forum: Scripting
Topic: Need to know how to exectute to external?
Replies: 1
Views: 2183

Need to know how to exectute to external?

hey guys,

just a quick one i cant seem to work out...

iam trying to execute a .bat file once OnBackupCompleted is completed?

I am trying to run C:\Documents and Settings\joshuah\Desktop\batch.bat

Any ideas on how i can do this?
by Krazy-J
2007-08-24 10:32
Forum: User contributed hMailServer 4 scripts
Topic: Send a warning email when user approaches mailbox limit
Replies: 52
Views: 105679

is it possibly something to do with the Code: (Null) it returns???
by Krazy-J
2007-08-24 00:07
Forum: User contributed hMailServer 4 scripts
Topic: Send a warning email when user approaches mailbox limit
Replies: 52
Views: 105679

100% sure its the correct password because it works fine for the on backup completion script...?
by Krazy-J
2007-08-23 15:51
Forum: User contributed hMailServer 4 scripts
Topic: Send a warning email when user approaches mailbox limit
Replies: 52
Views: 105679

' Sub OnClientConnect(oClient) ' End Sub ' Sub OnAcceptMessage(oClient, oMessage) ' End Sub ' Sub OnDeliveryStart(oMessage) ' End Sub ' Sub OnDeliverMessage(oMessage) ' End Sub ' Sub OnBackupFailed(sReason) ' End Sub ' Sub OnBackupCompleted() ' End Sub const g_sBNFrom = "MailServer Backup" const g_...
by Krazy-J
2007-08-23 05:05
Forum: User contributed hMailServer 4 scripts
Topic: Send a warning email when user approaches mailbox limit
Replies: 52
Views: 105679

Option explicit dim oApp set oApp = CreateObject("hMailServer.Application") call oApp.Authenticate("Administrator", "mypassword") dim oDomains set oDomains = oApp.Domains dim iTotalCount dim iDomainIdx For iDomainIdx = 0 To oDomains.Count -1 dim oDomain set oDomain = oDomains.Item(iDomainIdx) ' Ite...
by Krazy-J
2007-08-23 03:52
Forum: User contributed hMailServer 4 scripts
Topic: Send a warning email when user approaches mailbox limit
Replies: 52
Views: 105679

it doesnot work....
Description on attempt to reload scripts: Cannot use parentheses when calling a sub - line: 204 colum: 52 - Code: oAPP.Authentication("Administrator", "password")

please help??
by Krazy-J
2007-08-22 19:18
Forum: User contributed hMailServer 4 scripts
Topic: Send a warning email when user approaches mailbox limit
Replies: 52
Views: 105679

guys i receive this error message "ERROR" 2388 "2007-08-23 03:13:15.660" "Script Error: Source: hMailServer COM library - Error: 800403E9 - Description: You do not have access to this property / method. Ensure that hMailServer.Application.Authenticate() is called with proper login credentials. - Lin...