Specifically, I'm having trouble with the @recipients array - this needs to be defined as either a single domain to which mail can be sent, or as a regexp for mail address criteria.

What I want is a way of defining that mail can be sent to any email address at all - simply leaving the array blank makes the script not work at all, so I guess I'm looking for a regexp that includes any possible email address