i created a form with a drop down menu , the "select" tag, in that list, i have a number of names, and the purpose of it is for the user to select the person he wants to email.
how do i get it to actually email the selected person, the cgi keeps sending the email to the one given to it and thats it,
I have tried to figure out how to get links to work in dropdown menus several times. The best I can do is make a long table with a list of email links that is clipped off in a small window and scrolls, like this...
< div style = "width :200px;height :28px;overflow :auto">
< table>
< a href="mailto :person1@website.com>Person 1
< a href="mailto :person2@website.com>Person 2
< a href="mailto :person3@website.com>Person 3
Remember, a javascript solution won't work everywhere...the feature would be non-functional for a percentage of your users if you script it in with Java.
If you want to send the email text from a form, you will have to use XML (xhtml) and name every section of your form, then learn a little CGI (server side scripting). It would be much easier to use regular 'mailto:' links. They will bring up a window asking the user to login to thier email application and the address you specify will be the address for the email when they sign in.
You know that any Email links that you put on the open internet will be spammed mercilessly, right?