Forum Moderators: open

Message Too Old, No Replies

Form mail

Emailing to Multiple recipients

         

fliss

11:22 am on May 17, 2006 (gmt 0)

10+ Year Member



OK, We use form mail through our hosting company - they have it integrated so i have no control over form mail's related perl script.

We use form mail to send a form from our representatives, the form needs to go back to the rep himself, his manager and the admin group.

we initially had
<input type=hidden name="recipient" value="admin@ourdomain.co.uk">

and selected a drop down box for the rep name, but as we wanted to send to multiple recipients on a per user basis I created a drop down box as so:

Rep Name:
<select name="recipient" id="recipient">
<option selected>Please Select</option>
<option value="email1,email2,groupemail">user1</option>
<option value="email3,email4,groupemail">user2</option>
</select>

The problem is the value of "recipient" isnt posted with the form so the email recipients do not know which rep it came from. Is there any way i can modify this to send the value option without having a seperate drop down box for rep name?

Please can you help?

tedster

1:22 am on May 18, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



i have no control over form mail's related perl script.

There's the issue. You can change the html, but if the script doesn't catch and pass on the information, it does you no good. I think you need to speak with whoever set up the "standard" script.

fliss

11:34 am on May 18, 2006 (gmt 0)

10+ Year Member



Thanks for your reply - i ahve already asked the hosting company for access the the cript - they basically said no, they also said they cannot give coding help!

In other words they know nothing!

Is there any way we can manipulate the code in some way to pick up the recipient entry and display somewhere else?

Many Thanks

piatkow

12:42 pm on May 18, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



There are lots of companies offering these services, shop around for something that gives a better fit.

Faced with a similar problem with a packaged script I sent to a dummy mail box (pre set in the script for all messages) and cc'd to the true recipients (a variable in the script)