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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using mailto: to mail a form to multuple users

Status
Not open for further replies.

godzawilla

IS-IT--Management
Jul 9, 2002
14
US
I am trying to email a form to multiple users. I am aware of the mailto action in form declaration and the possiblity of declaring a function with multiple users. My problem is either i can successfully send the form to one user(using the mailto: action)or send the message to multiple users but with out the form contents (using a function to call multiple users). I have tried experimenting with ASP but have had no success. Specific details of my project are mailing to one specific user and having the user choose a manager through a select box to also submit the form to. Thanks for any advice
 
Do you mean something like?

<A HREF=&quot;mailto:charlie@aol.com;bob@aol.com&quot;>charlie@aol.com and bob@aol.com</A>

but in a form action?
 
Like?

<Form method=&quot;POST&quot; action=&quot;mailto:charlie@aol.com;bob@aol.com&quot;>
<INPUT type=&quot;text&quot; id=text1 name=text1>
<INPUT type=&quot;submit&quot; value=&quot;Submit&quot; id=submit1 name=submit1>
</Form>
 
Yes, but i would like the user to be able to select the second address from a select box. is this possible?
 
You mean something like this:
Code:
<form name=&quot;form1&quot; method=&quot;post&quot; action=&quot;mailto:youremailhere@aol.com&quot;>
  <select name=&quot;select&quot;>
    <option>Choose One</option>
    <option value=&quot;lalaine@hotmail.com&quot;>Lalaine</option>
    <option value=&quot;samW@hotmail.com&quot;>Sam Waterson</option>
    <option value=&quot;lindybooth@aol.com&quot;>Lindy Booth</option>
  </select>
  <input type=&quot;submit&quot; name=&quot;Submit&quot; value=&quot;Submit&quot;>
</form>
I have not failed; I merely found 100,000 different ways of not succeding...
 
GUJUmOdel
I tried your suggestion and the address i placed in the value for the select was placed as a value in the form. It sent the email to the mailto action email address but not to the select option email. Do you think it is possible to set a form's action to call a function that creates email address?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top