Click to See Complete Forum and Search --> : form2mail.exe & javascript...


rob_r
12-08-2003, 09:42 AM
Hi there all... first post!

In work we use the possibly rather clunky form2mail.exe to pass a simple email to others from web forms...

now the thing is we have to hard code in who the email gets sent to in the web form's html (inside BODY)..
<FORM NAME="Course Request Form" ACTION="http://mynetwork/form2mail/form2mail.exe" METHOD=POST>
<INPUT TYPE=HIDDEN NAME="__SMTP" VALUE="1xx.xxx.xx.xxx"><INPUT TYPE=HIDDEN NAME="__to" VALUE="learningresource.centre@something.com"><INPUT TYPE=HIDDEN NAME="__subject" VALUE="Course Request Form"><INPUT TYPE=HIDDEN NAME="__from"
VALUE="Employee Development Website">

want to be able to use a different email address in the "__to" bit - dependant on which department is input on the web form

if that makes sense!

can anyone help??

thanks!