Sending to multiple e-mail addresses from form (Full Version)

All Forums >> [Web Development] >> Microsoft FrontPage Help



Message


karmstrong -> Sending to multiple e-mail addresses from form (4/12/2001 17:10:00)

I am trying to set up a form, that will send teh results from that form to more than one e-mail address. When I type in two (or more) addresses, FP only sends to the first. When I try to adjust the code, FP either adjusts my adjustment to the code, or ignores it.

In order to track the requests from the site (mainly problem reports on a operating system) it is crutial to not only be able to track the problem reports, but to be able to follow up to make sure the problem is being addressed.

Thanks bunches!





davebukouricz -> RE: Sending to multiple e-mail addresses from form (4/12/2001 19:30:00)

I have seen this issue before, in fact ran into it myself, and here is a way to do this. You're right in that FP only allows you to e-mail to one address, unless things have changed, here is the answer.
Create two identical pages page1 and page2
in the form confirmation field of page1, insert the url of page2. On page 2 you can then insert the SECOND E-MAIL address and the url of the confirmation page.
the processing will be transparent to the user, and it works!
Dave




capitao -> RE: Sending to multiple e-mail addresses from form (4/13/2001 20:41:00)

(time to jump into the html tab)

If you're using something like this:
<FORM METHOD=POST ENCTYPE="text/plain" ACTION="mailto:feedback@domain.com">
... you form fields in here ...
</FORM>
... and you want a second person copied in, you have a choice. Either:

1 - several people in the To field (all visible) ... the [ ; ] being the important bit
ACTION="mailto:feedback@domain.com;otherperson@domain.com;third.person@domain.com">

2 - someone copied in ... the [ ?cc= ] being the important bit
ACTION="mailto:feedback@domain.com?cc=otherperson@domain.com">

3 - someone blind copied in ... the [ ?bcc= ] being the important bit
ACTION="mailto:feedback@domain.com?bcc=otherperson@domain.com">

4 - mixing and matching? you can to an extent. for example, several 'to's and several 'cc's
ACTION="mailto:email1@dom.com;email2@dom.com?cc=email3@dom.com;email4@dom.com">

... but someone in 'to' 'cc' and 'bcc' - just doesn't work?!

worth testing though, because if you mix and match and get it wrong - the form just doesn't post at all! I've not tested this 'several e-mails' thing in NN as I have no clue what that thing does with e-mail, other than I know form data gets sent?!

[ big thanks and a <HUGE >recommendation</HUGE> to Elizabeth Castro's 'HTML for the world wide web' ISBN 0-201-35493-4 ... if this book was pocket sized, then it would be a lot more dog-eared and battered than it already is! ... and then there is her book on PERL & CGI ]
___
cap

------------------
http://www.laker-media.co.uk ... web design & photo solutions
http://www.laker-images.co.uk ... travel, abstract & social imagery





Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.0625