I am not sure I understand what you want to do but as far as part two is concerned. I think you want a form whereby instead of sending to a single hard-wired email recipient you want the person who fills in the form to select the email recipient.
You can do this with a drop-down menu in HTML.
In a normal form I would have the line:-
You only need one name value to be set to ‘recipient’ ,as the only required name value,to get the DreamHost formmail working.
So use a select setting like:-
You would need to know the email recipients in advance and add the email aliases ( a,b,c,d,e in this example) to your account if they were local to your domain.
Eric above is selected as a default. The user then selects the email recipient from the drop-down.
Do not forget though… If the email address is within the same domain as the form is called from you can omit the domain part of the address. If your email recipients are outside your domain you need to use the full email address which of course is then open to email address harvesters.
Opinions are my own views, not DreamHosts’.
I am NOT a DreamHost employee OK!! :@
You act on my advice at your own risk!