i'm currently writing a form to add to a site. can anyone tell me if it is possible to send mail to different addresses depending on a selection in a drop down box.
e.g. if "hardware" is selected then send a mail to hardare@....
thanks
anshul
11:29 am on May 4, 2005 (gmt 0)
Yes. Set something like $to=$_POST[$email_value] i.e., set 'To' according to data posted from HTML FORM; please see PHP mail()