Emailing more than one person on a submit button - email & Submit button

They have: 2,390 posts

Joined: Nov 1998

...or a semi colon and a space as the previous suggestions did not included spaces.
JP

----------
The Webmaster Promotion and Resource Center.
http://www.what-next.com

They have: 10 posts

Joined: Jun 1999

Do it like this:

<FORM METHOD=post ACTION="mailto:[email protected]?subject=Whatever Form Subject&[email protected]&[email protected]" ENCTYPE="text/plain">

They have: 14 posts

Joined: Jun 1999

I have been asked to look at a problem one of the web co-ordinators is having on their intranet website. She has set up a form through Frontpage 98 and she would like to be able to submit via email to three people at the same time.. is this possible? If so can any one help me out??

----------
Web Services Officer

They have: 46 posts

Joined: Jun 1999

Hi, it's Leech again... aka "JP's Little Helper" Smiling

Just seperate the e-mail addresses by a... a... a 'puntkomma', how do you say this in English? Wink You know what I mean, a ";" sign...

like this:

<form action="mailto:[email protected];[email protected];[email protected]">

this should do it...

greetz,

----------
Leech.
anti people, now you've gone too far... here's your antichrist superstar!

They have: 14 posts

Joined: Jun 1999

Well thank you for that and a ; is called a semi colon in English...but I have already tryed that and it doesn't seem to work. any other ideas??

----------
Web Services Officer

They have: 46 posts

Joined: Jun 1999

Hmm... it seems to work here...

http://members.dencity.com/mmanson/mail.html

Try it out for yourself... it works here using IE 4... what browser are you using?

Greetz,

----------
Leech.
anti people, now you've gone too far... here's your antichrist superstar!

They have: 14 posts

Joined: Jun 1999

IE5, but the rest of the site are on 3 and 4

----------
Web Services Officer

They have: 14 posts

Joined: Jun 1999

When I try and get that website up I get access forbiden

----------
Web Services Officer

John Pollock's picture

He has: 628 posts

Joined: Mar 1999

Try a comma and a space, it might do the trick, ie:

action="mailto:[email protected], [email protected]"

Let me know if it works. Smiling

----------
Page Resource: http://www.pageresource.com
JavaScript City: http://www.javascriptcity.com

They have: 14 posts

Joined: Jun 1999

Well may be it is me....but that doesn't work either way, this is what I have done,It is at the end of a form..written in FrontPage 98 Someone help me!! please!
<html>

<head>
<title>error log</title>
<meta name="GENERATOR" content="Microsoft FrontPage 3.0">
</head>

<body bgcolor="#FFFFFF" vlink="#008080">

<form method="POST" action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" startspan U-File="../_private/error_log.txt"
S-Format="TEXT/PRE" S-Label-Fields="TRUE" B-Reverse-Chronology="FALSE"
S-Email-Format="TEXT/PRE" B-Email-Label-Fields="TRUE" S-Builtin-Fields
S-Email-Address="[email protected];[email protected]" --><input TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><!--webbot
bot="SaveResults" endspan --><div align="center"><center><p><em><big><big>Maternity
Information System</big></big></em></p>
</center></div><div align="center"><center><p><em><u><big><big>Error log</big></big></u></em></p>
</center></div>
</form>

<form method="POST"
action="action=mailto%[email protected],%[email protected]%22">
<p><strong>User Name</strong><input type="text" name="T1" size="26">
              <strong>Status
</strong>    <input type="text" name="T3" size="20"> </p>
<p><strong>Location of computer</strong>     <input type="checkbox"
name="C1" value="ON">CDS Nurses Station<br>
                                       
<input type="checkbox" name="C2" value="ON">CDS Co-ordinator Office<br>
                                       
<input type="checkbox" name="C3" value="ON">Ward 26<br>
                                       
<input type="checkbox" name="C4" value="ON">Team Leaders<br>
                                       
<input type="checkbox" name="C8" value="ON">Antenatal Secretary</p>
<p><strong>Date</strong><input type="text" name="T4" size="20">    <strong>Time</strong>
<input type="text" name="T5" size="20"></p>
<p>Please state the problem and give as many details as possible.  (i.e. which screen
you was using when the problem occured, actual error message)</p>
<p><strong>Problem</strong></p>
<p><textarea rows="7" name="S1" cols="66"></textarea></p>
<p><strong>Action Taken</strong><textarea rows="3" name="S2" cols="66"></textarea></p>
<p><strong>Who was contacted?</strong> <input type="text" name="T6" size="36"></p>
<p><strong>Was the problem resolved?</strong>    Yes <input type="checkbox"
name="C6" value="ON">        No <input type="checkbox"
name="C7" value="ON"></p>
<p>(If no why?) <input type="text" name="T7" size="69"></p>
<METHOD=post ACTION="mailto:[email protected]?subject=Error log&[email protected]&[email protected]" ENCTYPE="text/plain">
</form>
</body>
</html>

----------
Web Services Officer

They have: 46 posts

Joined: Jun 1999

Well, this is your form tag:

<form method="POST"
action="action=mailto%[email protected],%[email protected]%22">

you should delete the "%20" and "%22"'s, but wait a minute...

at the end i see this line:

<METHOD=post ACTION="mailto:[email protected]?subject=Error log&[email protected]&[email protected]" ENCTYPE="text/plain">

So i suggest you do the following:
you delete the first <form> tag (the one with the "%" in it)manually (in notepad or something), you take the <method> tag at the end, you cut it, and you paste it in the spot where the <form> tag used to be... now you just add "form " in front of the tag, so it becomes: <form method="... >

You know what? I'll do it and send you the code by e-mail, cause I'm making things complicated I think... Smiling

Greetz from JP's little helper, Wink

----------
Leech.
anti people, now you've gone too far... here's your antichrist superstar!

They have: 46 posts

Joined: Jun 1999

Hmmm... your e-mail isn't working... then I'll have to post the code here... sorry for the code overflow people Smiling
_______________________________

<html>
<head>
<title>error log</title>
<meta name="GENERATOR" content="Microsoft FrontPage 3.0">
</head>

<body bgcolor="#FFFFFF" vlink="#008080">

<p align="center"><em><big><big>Maternity Information System</big></big></em></p>

<p align="center"><em><u><big><big>Error log</big></big></u></em></p>

<form METHOD=post ACTION="mailto:[email protected]?subject=Error log&[email protected]" ENCTYPE="text/plain">
<p><strong>User Name</strong><input type="text" name="Username" size="26"> <strong>Status </strong><input
type="text" name="Status" size="20"> </p>
<p><strong>Location of computer</strong> <br>
<input type="checkbox" name="CDS_Nurses_Station" value="ON">CDS Nurses Station<br>
<input type="checkbox" name="CDS_Coordinator_Office" value="ON">CDS Co-ordinator Office<br>
<input type="checkbox" name="Ward_26" value="ON">Ward 26<br>
<input type="checkbox" name="Team_Leaders" value="ON">Team Leaders<br>
<input type="checkbox" name="Antenatal_Secretary" value="ON">Antenatal Secretary</p>
<p><strong>Date</strong><input type="text" name="Date" size="20"> <strong>Time</strong> <input
type="text" name="Time" size="20"></p>
<p>Please state the problem and give as many details as possible. (i.e. which screen you
was using when the problem occured, actual error message)</p>
<p><strong>Problem</strong></p>
<p><textarea rows="7" name="Problem" cols="66"></textarea></p>
<p><strong>Action Taken</strong></p>
<p><textarea rows="3" name="Action_Taken" cols="66"></textarea></p>
<p><strong>Who was contacted?</strong> <input type="text" name="Who_was_contacted" size="36"></p>
<p><strong>Was the problem resolved?</strong> Yes <input type="checkbox" name="problem_resolved"
value="ON"> No <input type="checkbox" name="problem_not_resolved" value="ON"></p>
<p><strong>(If no: why?)</strong> <input type="text" name="why_not_resolved" size="69"></p>
<p> </p>
<p><input type="submit" value="Submit"></p>
</form>
</body>
</html>

_______________________________

i hope this works... if not, I'll redirect you to my charming assistant JP Stones Smiling

Greetz,

----------
Leech.
anti people, now you've gone too far... here's your antichrist superstar!

They have: 2,390 posts

Joined: Nov 1998

Smiling @ Leech.

This is my 3 step guide to improving your site.
1/ go to your control panel in Windows
2/ go to add/remove programs
3/ uninstall Frontpage.
Ta Da!!
JP

----------
The Webmaster Promotion and Resource Center.
http://www.what-next.com

They have: 46 posts

Joined: Jun 1999

What is Frontpage anyway? Never heard of it... Wink

I almost always use notepad... low budget, you know... Wink

This was Leech, live from Belgium, back to you now JP...

Greetz,

----------
Leech.
anti people, now you've gone too far... here's your antichrist superstar!

They have: 14 posts

Joined: Jun 1999

I'm sorry guys we work in an organisation that has tryed to make web publishing easy for people by giveing them Microsoft FP, but actually they have made it worse for me... I can't uninstall it because non of the can write in HTML and I have only resently really got into it..

They have: 46 posts

Joined: Jun 1999

You can use anything you want Sally, but... is it working now? (Say yes! Smiling)

----------
Leech.
anti people, now you've gone too far... here's your antichrist superstar!

They have: 14 posts

Joined: Jun 1999

No I'm afrade it doesn't! I have copied it into notepad and then saved it as an HTM file opened it in IE and it just clicks the button but nothing else !!! help me please!!

They have: 2,390 posts

Joined: Nov 1998

OK Smiling
I would suggest Dreamweaver 2 then if you need a WYSIWYG editor.
JP

----------
The Webmaster Promotion and Resource Center.
http://www.what-next.com

They have: 46 posts

Joined: Jun 1999

Oh s**t!, sorry for my language children... Smiling

Well... I tried... And I'll keep trying... Until I did everything I can... I'm starting... right... now... GO!

Bye,

----------
Leech.
anti people, now you've gone too far... here's your antichrist superstar!

They have: 11 posts

Joined: Jul 1999

Can this be considered?

<Form onsubmit="mail(this.form);"

Function mail(form) {
var i=0;
var lim=4;
(for i <= lim;i++) {
document.form.action="mailto:person+[i]@any.com"
document.form.submit();
}

Trying me luck!
Smiling

They have: 1 posts

Joined: Aug 2010

Hi,

]I have been asked to look at a problem one of the web co-ordinators is having on their intranet website. She has set up a form through Frontpage 98 and she would like to be able to submit via email to three people at the same time.

{links removed}

They have: 1 posts

Joined: Aug 2010

hie cld u jst guide me ....... i m havin trouble with sending a mail to the user whn he registers himself 2 the site ....... could u b kind enough 2 help ......... plzz
thnks in advance
regards!

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.