PDA

View Full Version : In need of Multiple email form


eman82
09-11-2007, 09:37 AM
Hello all,

I am creating a website for my work. We have approx 25 or so employees.

I would like to put a form on the site that visitors could use to contact a certain employee. The only thing is that the employees do not want there emails listed due to SPAM.

Is there a form that a visitor can type in information and when they hit send, the information it sent to the employees email???

Thank for your help.
~E~

vinyl-junkie
09-11-2007, 01:19 PM
Make a contact form with a dropdown box from which employees could be selected. For example:

<select name="employee">

<option value = "">&nbsp;</option>
<option value="1">John Doe</option>
<option value="2">Jane Smith</option>
. . .
</select>

You would probably want this to be database driven so that maintenance would be easier as employees come and go. Anyway, your script could then translate the values 1, 2, etc. to the appropriate email address when sending messages through the contact form.