Multiple Email Recipients of Web Forms

R

rattler0812

This is the code that I currently have in my web form. It allows
independence from a server-based SMTP to send the results. While it does
currenlty only go to one person, I need it to go to multiple recipeients. It
sends through the user's own email rather than a script or email server on
the hosting server.

<form action=mailto:[email protected] method="POST" enctype="text/plain">

This is what FrontPage 2003 is trying to get me to do for multiple e-mail
recipients.

<form action=_derived/nortbots.htm method="POST" enctype="text/plain"
webbot-action="--WEBBOT-SELF--"
onSubmit="location.href='_derived/nortbots.htm';return false;"
webbot-onSubmit>
<!--webbot bot="SaveResults" S-Email-Format="TEXT/PRE"
S-Email-Address="(e-mail address removed); (e-mail address removed)"
B-Email-Label-Fields="TRUE" B-Email-ReplyTo-From-Field="TRUE"
S-Email-ReplyTo="(e-mail address removed)" B-Email-Subject-From-Field="TRUE"
S-Email-Subject="Staples Order" S-Date-Format="%m/%d/%Y"
S-Time-Format="%H:%M" S-Builtin-Fields="Date Time" startspan --><input
TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><!--webbot bot="SaveResults"
i-checksum="43374" endspan -->

What I would like is to keep the subject line information so that the
recipient knows why they are receiving it. Additionally, the other members
of my department to receive their own copy so that they don't accidentally
submit the same request (which has happened before). I know some of the
information in that FrontPage derived portion is due to selection that I have
made in the dialogue box. But, is there a way that I can code this without
all the excess code and still send to multiple recipients.

Jason "Rattler" Lopez
 
C

Corey Bryant

The easiest thing would be to create an email like (e-mail address removed) and
make that go to everyone. Use that email address in your contactus.

It can be done through FP for two email addresses but it is much easier to
create a multiple recipient email address on the server
 
R

rattler0812

There actually was another post that I found that helped a little bit. After
tweaking the code some, I found what I was looking for.

<form
action="mailto:[email protected]?subject=whatever&[email protected]&[email protected]" method="POST" enctype="text/plain">

It took a while to search through what would have seemed like unrelated
threads. But they all, combined together, worked perfectly.

Rattler
 
C

Corey Bryant

That code will make the form rely on the user's email client and not the
server. It's not as reliable as user the server to process the form
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top