No limit (other than the finite resources of your computer ). 100 or more will be fine.
First question: Is there a limit to the number of e-mail addresses you can put in this area of the script and/or form? I have about 100
Yes. But if you have several from the same domain, and, that domain isn't a general one like "msn.com" or "yahoo.com", you can use the EMAIL_NAME feature as shown to match a number of addresses in one entry in $TARGET_EMAIL.
Second question: Do I have to put each individual address in both the formmail.php file and the form file? I assume so.
$TARGET_EMAIL = array(EMAIL_NAME."@rootsoftware\.com$", // millions of addresses at rootsoftware.com
"^jacksprat@rootsoftware\.com\.au$", // exactly one address
EMAIL_NAME."@ttmaker\.com$", // millions
"^john\.smith@timetabling\.org$", // exactly one
Put a backslash before each dot anywhere in the email address. It's really not critical but it is more secure.
Third question: Some of the e-mail addresses I'm using have more than one 'dot' after the 'at' symbol.
Here's the explanation....
In a pattern (regular expression), "." matches any character, whereas "\." matches only a literal ".". So, this pattern:
will match "johnasmith", "johnbsmith", ..., as well as "john.smith"
Whereas this pattern:
will only match "john.smith".