Oh the perils of inadvertantly replying to the wrong post in a thread, eh?
Actually, the NMS script I mentioned has a pretty cool “alias” feature for masking the recipient(s):
excerpt from readme:
%recipient_alias - A hash for predefining a list of recipients in the
script, and then choosing between them using the
recipient form field, while keeping all the email
addresses out of the HTML so that they don’t get
collected by address harvesters and sent junk email.
For example, suppose you have three forms on your
site, and you want each to submit to a different email
address and you want to keep the addresses hidden.
You might set up %recipient_alias like this:
%recipient_alias = (
‘1’ => ‘email@example.com’,
‘2’ => ‘firstname.lastname@example.org’,
‘3’ => ‘email@example.com’,
In the HTML form that should submit to the recipient
’firstname.lastname@example.org’, you would then set the recipient
The recipients in %recipient_alias are automatically added
to the allowed recipients list, so there’s no need to list
them all in @allow_mail_to as well.
—end excerpt —
I’ve used that functionality, and it seems to work very well.