Modify Jacks Formmail.php
Need to add some functionality to Jack’s formmail.php (doesn’t have to be jack’s, that’s just what I use.)
Basically looking at being able to record information recorded into a form and then cycle through a list of email addresses to distribute the workload. Need basic admin capabilities to maintain list. Need user login to be able to review information forwarded to them. I’m sure there are things that I’m not thinking of, so I’m open to suggestions.
Here’s the list of additions that I can think of:
when form is submitted:
* write form information to to mysql data
* instead of sending form information to hardcoded recipient, cycle through a database of email addresses starting at #1, going to last, and starting back over at #1.
* write information as to which recipient was assigned that form data.
* Need special value that can be keyed into field to trigger a test cycle. It would write data as normal, but assign data to admin and not update loop pointer.
“back end” functionality:
* admin login
* add email recipients and assign password to each recipient
* delete recipients
* reset password
* manually override loop pointer
* recipient login to view form data that would have been mailed to them (to ensure data no caught in spam filter and to give audit trail.)



