Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

can i override the "subject" of a "mailto" action & add a &q

Status
Not open for further replies.

thibault

Programmer
Sep 8, 1999
44
US
i have a form <br>&lt;FORM NAME=&quot;frmOrder&quot; ACTION=&quot;mailto:<A HREF="mailto:astack@hotbot.com">astack@hotbot.com</A>&quot; METHOD=&quot;POST&quot; ENCTYPE=&quot;text/plain&quot;<br> onSubmit=&quot;submitIt();&quot;&gt;<br><br>my boss wants the e-mail output to go to more than just <A HREF="mailto:astack@hotbot.com">astack@hotbot.com</A>, but also to the person who submitted the form.&nbsp;&nbsp;i tried using an onSubmit= function to override the ACTION.&nbsp;&nbsp;unfortunately, the form.submit() method won't work.&nbsp;&nbsp;in other words, it sends the e-mail to the first person(astack); it then confirms that the second e-mail is being sent; but it does not send it.&nbsp;&nbsp;i was forced to create a hidden form containing the same information and submitting them both.<br>he says i should'nt have to do that.&nbsp;&nbsp;he said he's pretty sure that i can set a &quot;cc&quot; value and a &quot;subject&quot; value to the mailto: action along with the original mailto address.&nbsp;&nbsp;does anyone know how i can do this?<br>tia:) <p>bobbie<br><a href=mailto:thibault@hotbot.com>thibault@hotbot.com</a><br><a href= </a><br>
 
have you used semi colons to send multiple email addresses, or no? <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href= </a><br>Experienced in : C++(both VC++ and Borland),VB1(dos) thru VB6, Delphi 3 pro, HTML, Visual InterDev 6(ASP(WebProgramming/Vbscript)<br>
 
You might want to use a CGI script- I find mail forms that actually get sent from the client's email system to be rather unprofessional (what happens on terminals that get used by multiple people?).<br><br>It seems that if you had the technology, that's what your boss would be looking for. <p>Liam Morley<br><a href=mailto:lmorley@wpi.edu>lmorley@wpi.edu</a><br><a href=] :: imotic :: website :: [</a><br>"light the deep, and bring silence to the world.<br>
light the world, and bring depth to the silence.
 
thanks guys:)&nbsp;&nbsp;actually, we're just getting started.&nbsp;&nbsp;i am the only one here who knows javascript...and i know nothing.&nbsp;&nbsp;the head e-commerce guy is going to hire somebody experienced.&nbsp;&nbsp;until then, i'm just being creative.<br><br>this worked<br><br>mailto:<A HREF="mailto:firstperson@isp.com">firstperson@isp.com</A>?cc=<A HREF="mailto:secondperson@isp.com">secondperson@isp.com</A><br><br>the data, from the form, won't actually be seen by anyone outside of mis.&nbsp;&nbsp;it will be automatically fed into another app.&nbsp;&nbsp;so if it looks unprofessional...dats ok:)<br><br>thanks again...you rook mavellous <p>bobbie<br><a href=mailto:thibault@hotbot.com>thibault@hotbot.com</a><br><a href= </a><br>
 
Server-side technology would be idea for that kind of task, either it be CGI or ASP(I mainly write in ASP which is mostly serverside VBscript, you can use serverside javascript on it as well, and include ActiveX controls on the serverside to do some of the complexwork , and not have to worry about browser compatibility) <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href= </a><br>Experienced in : C++(both VC++ and Borland),VB1(dos) thru VB6, Delphi 3 pro, HTML, Visual InterDev 6(ASP(WebProgramming/Vbscript)<br>
 
Right, I mentioned that above, I believe thibault said he's just getting started, which is pretty understandable... although let me remind you it might be a better idea to learn something server-side which you'll be able to use for a long time (albeit slightly more difficult) rather than spend time working on problems that aren't worth it. If I were you, I'd take the extra time and go to the Perl and CGI-BIN forums; there are some great people who will be more than happy to set you up. <p>Liam Morley<br><a href=mailto:lmorley@wpi.edu>lmorley@wpi.edu</a><br><a href=] :: imotic :: website :: [</a><br>"light the deep, and bring silence to the world.<br>
light the world, and bring depth to the silence.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top