Dear Apple friends ,
I am writing an apple script in which rule for each mailbox has to be created . The script is looping through all mailboxes , it has to check whether there is rule existing for the mailbox , if not create a rule for the existing box. The simple rule is if a when mail message is recieved from particular sender_name@domain_name transfer that mail to this this mailbox .Any help or clue to where I can get the answer will be highly appreciated . Is there is also any way to add the rules to the existing rules .
The other part of the script is working fine , I just want to know how to add rule to this particilar mailbox in a loop . The version of the mail application is 2.1 .
Thanks in advance
Krishna