Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: enable / disable rules
PostPosted: 2012-05-07 23:39 
New user
New user

Joined: 2007-06-29 00:40
Posts: 12
Hello, I created a rule in a mail box, you can create a script to enable or disable the rule?

for example:


1) RULES NAME: xxx

2) RULES NAME: yyy

WHEN OBJECT CONTAIN: enable rules

ACTION: run script enable xxx

best regards
Ivan


Top
 Profile  
 
 Post subject: Re: enable / disable rules
PostPosted: 2012-05-08 00:46 
Site Admin

Joined: 2005-07-29 16:18
Posts: 13628
Location: UK
Possibly, would be easier to just do the action the rule is doing in the script though.

_________________
If at first you don't succeed, bomb disposal probably isn't for you! ヅ


Top
 Profile  
 
 Post subject: Re: enable / disable rules HELP
PostPosted: 2012-09-13 23:28 
New user
New user

Joined: 2007-06-29 00:40
Posts: 12
i neet to enable rules via dcom batch .vbs .....

dim oApp
set oApp = CreateObject("hMailServer.Application")
Call oApp.Authenticate("Administrator","*******")

for example:

on the domain pippo.com
into mail pluto@pippo.com
i need to activate the rules ( previously created via hmailadmin ) called "Disney rules"

can someone help me write the 3 lines missing??
wery thanks
IVAN


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 4 guests



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