Forum Moderators: travelin cat

Message Too Old, No Replies

applescript for Entourage for forwarding email

         

stinky

3:28 am on Jul 4, 2004 (gmt 0)

10+ Year Member



I need an applescript for Entourage to do the below, any help is greatly appreicated.
The web site has multiple forms thorough out the site that people fill out there required information and submit it to the web site. The submitted form is then sent to a main email address called mike@mike.com (Not the correct email, just using for example) which then goes directly into Entourage on the Mac.

Currently I manually have to forward these emails to "two" separate groups. Each group is made up of 10 email address, I call these groups, "Group A" and "Group B." Groups A and B are individuals who process all the emails that the web site receives. I wont to set entourage so the every other email that the web site receives goes to "group A" and every other email the site receives goes to "group B." Lots of the emails that the web site receives have different subject lines. It is Not important which emails go to which group, I just wont every other email the site gets to go to "group A" and every other one to go to "group B" or odd emails to one group and even emails to the second group.

Other info: The form on the web site that people fill out is a cgi script and the web site is in HTML.
Also somebody gave me this line of code below, but i dont know how to set it up to make it function in Entourage, can it be of use?
----------------------------------
property groupList : {"Group A", "Group B"}
property nextGroup : 1

set sendTo to item nextGroup of groupList
set nextGroup to nextGroup mod (number of items in groupList) + 1
----------------------------------------------
Thanks