Forum Moderators: open

Message Too Old, No Replies

Multiple Email Form

simple form problem - i hope :(

         

portwoode

3:20 pm on Oct 14, 2003 (gmt 0)

10+ Year Member



Here's the situation. I have created a form that a user fills out and when they click submit, it sends all of the information to me. That works just fine. The TROUBLE is that I want the user to be able to send a carbon copy to the people they select via checkboxes. I also have this part of the form setup, but I'm not sure on how to code this correctly. Thanks for any help you may offer.

jetboy_70

3:26 pm on Oct 14, 2003 (gmt 0)

10+ Year Member



This is likely to be dependent on the code you are using to convert the form to an email. Something like formmail.pl for example?

portwoode

3:30 pm on Oct 14, 2003 (gmt 0)

10+ Year Member



The form itself is not an email. Its a form that is located on my server, that those on my intranet can access.

mattur

3:47 pm on Oct 14, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



pw, you need to provide more information in order for us to be able to help.

Are you using a mailto as your form action or a server side script? If the latter, what language, etc.

portwoode

4:16 pm on Oct 14, 2003 (gmt 0)

10+ Year Member



sorry for not posting more info, the code is on another machine right now that is locked till some people get back from lunch. it is using a simple mailto: . Basically I'd like to incorporate several mailto: 's depending on who is selected by the checkboxes.

mattur

4:29 pm on Oct 14, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hmmm... not sure. You can append?bcc=someone onto mailto links, not sure if you can do this in form actions. Even then, you would have to use some kind of javascriptrickery to get the selective bcc working.

I would recommend using server side programming to implement this. Whatever language you use, it would just be:

1. pickup passed msg and bcc's
2. Build email
3. Add recipient
4. add bcc(s)
5. Send email

Probably not the answer you were hoping for! ;)