HTML - Help With Mailto Form
guys, im having an issue with my mailto form iv pasted the code bellow:
basicly the form dosent seem to be working correctly... i dont have the email arrive in my inbox!! http://www.bristolheatingsolutions.co.uk/contact.html Code: <FORM action="mailto:Patrick@bristolheatingsolutions.co.uk" method="post" enctype="text/plain"> <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="4" WIDTH="90%"> <TR> <TD width="30%"><DIV align="right"> <B>Name :</B> </DIV> </TD> <TD width="70%"> <INPUT type="text" name="name" size="50"> </TD> </TR> <TR> <TD><DIV align="right"><B>Address :</B></DIV> </TD> <TD> <INPUT type="text" name="address" size="50"> </TD> </TR> <TR> <TD><DIV align="right"><B>Town :</B></DIV> </TD> <TD> <INPUT type="text" name="town" size="50"> </TD> </TR> <TR> <TD><DIV align="right"><B>Post Code :</B></DIV> </TD> <TD> <INPUT type="text" name="postcode" size="50"> </TD> </TR> <TR> <TD><DIV align="right"><B>Home Tel :</B></DIV> </TD> <TD> <INPUT type="text" name="house Tel" size="50"> </TD> </TR> <TR> <TD><DIV align="right"><B>Mobile Tel :</B></DIV> </TD> <TD> <INPUT type="text" name="mobile tel" size="50"> </TD> </TR> <TR> <TD><DIV align="right"><B>Email Address :</B></DIV> </TD> <TD> <INPUT type="text" name="email address" size="50"> </TD> </TR> <TR> <TD><DIV align="right"> <B>Comment:</B> </DIV> </TD> <TD><textarea name="comment" cols="50" wrap="virtual" rows="4"> </textarea></TD></TR> <TR> <TD> </TD> <TD> <INPUT type="submit" name="submit" value="Submit"> <INPUT type="reset" name="reset" value="Reset"> </TD></TR> </TABLE> </FORM> Similar TutorialsHi, I have recently got a book on HTML and XHTML, and I was looking at forms. I would like a form to send the info to my e-mail: Rautoner@hotmail.co.uk , but whenever I try it, it asks if I would like to send it / security warning (which I don't want) and then it opens the url: mailto:Rautoner@hotmail.co.uk (which is wrong). Can anybody fix this? Code: <form action="mailto:Rautoner@hotmail.co.uk" method="post"> Name:<input type="text" name="Name"> Age:<input type="text" name="Age"> <input type="submit" value="Send"> </form> I have no idea on how to create a mailto form. I want the user to be able to send information to me, and I want an automated, automatic reply to be sent back to them. I am not looking for anyone to do it for me. Just tell me where I can read up on it. Hey all, I've never had problems with this before, but I can't figure out where I've gone wrong. I am trying to use a simple mailto action on my form, but I am not receiving any email to a number of email addresses (which i have been trying one at a time ). I have checked my spam folders/filters. Any help would be appreciated. Here is the code (with my email address removed) - I have not really done any formatting: Code: <form method="post" action="mailto:me@me.com"> Name: <input type="text" name="Name" size="20"><br> Email: <input type="text" name="email" size="20"><br> <input type="submit" value="Submit"> </form> Thank you for your time! ok. this is my code Code: <html> <body> <h3>This form sends an e-mail to W3Schools.</h3> <form action="MAILTO:(?)" method="post" enctype="text/plain"> Contact:<br /> <form action=""> <select name="names"> <option value="***@hotmail.com">Trevor</option> <option value="***@hotmail.com">Nick</option> <option value="***@hotmail.com">Sam</option> </select> </form> <br/> Name:<br /> <input type="text" name="name" value="your name" size="30" /> <br /> Your e-mail:<br /> <input type="text" name="mail" value="your e-mail" size="30" /> <br /> Comment:<br /> <input type="text" name="comment" value="your comment" size="40" /> <br /><br /> <input type="submit" value="Send" /> <input type="reset" value="Reset" /> </form> </body> </html> as you can see i am trying to send a email to the three adresses though a drop down menu. the (?) is where im not sure what to put. any ideas? I made a form and cant figure how to get it to submit and not have it all in just a long line of text. I think it has something to do with the enctype. but I'm new to forms. Here is an equivalent to what i have so far. Code: <form enctype="text/plain" method="post" action="mailto:name@address.com"> <input type="text" name="first name" value="John"> <br> <input type="text" name="last name" value="Smith"> <br> <input type="submit" value="submit"> </form> Using the following code, how can I have the information sent to the email address and also redirected to another page when the user clicks submit. <html> <body> <FORM METHOD = Post action="mailto:code.bro@verizon.net" Enctype="text/plain"> First Name: <input type ="text" name="firstname"/>   Last Name: <input type ="text" name="lastname"/> <br/> <br/><dd/> Comments orSuggestions: <br/><dd/> <textarea name="comment" rows="10" cols="50"></textarea> </textarea> <input name="redirect" Type="hidden" value="index.html"> <input name="next_url" Type="hidden" value="index.html"> <br>           <input type = "submit" value="send"> <input type = "reset" value="clear"> </form> </body> </html> Hi My first post here, so I hope it's a good one! I have a form which I want a javascript function to be able to manipulate the action= line. the reason I want this is so I can manipulate the subject line. the javascript looks like this: Code: <script language="JavaScript"> function getMAILTO(){ var mailto = "andy.plumb@conwy.gov.uk?subject=EN$(FORMNO)"; alert(mailto) document.Enrolment.action = mailto; } </script> I have put the alert in so i can see what the variable produces. The form line looks like this: HTML Code: <form action="mailto:javascript:getMAILTO()" method="post" > HTML Code: <form method="post" action="mailto:xxxxxxxx@xx.com "> <table class="text3"> <tr><td valign="top" width="140">Voornaam:</td><td><input name="requiredvoornaam" type="text" id="requiredvoornaam" class="veld" size="30" /></td></tr> <tr><td valign="top" width="140">Achternaam:</td><td><input name="requiredachternaam" type="text" id="requiredachternaam" class="veld" size="30" /></td></tr> <tr><td valign="top">E-mail:</td><td><input name="requiredemail" type="text" id="requiredemail" class="veld" size="30" /></td></tr> <tr><td valign="top">Telefoonnummer:</td><td><input name="requiredtelefoonnummer" type="text" id="requiredtelefoonnummer" class="veld" size="30" /></td></tr> <tr><td valign="top">Adres:</td><td><input name="requiredadres" type="text" id="requiredadres" class="veld" size="30" /></td></tr> <tr><td valign="top">Woonplaats:</td><td><input name="requiredwoonplaats" type="text" id="requiredwoonplaats" class="veld" size="30" /></td></tr> <tr><td valign="top">Aankomstdatum:</td><td><select name="adag" id="adag"> <option value="Dag">Dag</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> <option value="13">13</option> <option value="14">14</option> <option value="15">15</option> <option value="16">16</option> <option value="17">17</option> <option value="18">18</option> <option value="19">19</option> <option value="20">20</option> <option value="21">21</option> <option value="22">22</option> <option value="23">23</option> <option value="24">24</option> <option value="25">25</option> <option value="26">26</option> <option value="27">27</option> <option value="28">28</option> <option value="29">29</option> <option value="30">30</option> <option value="31">31</option> </select> <select name="amaand" id="amaand"> <option value="Maand">Maand</option> <option value="Januari">Januari</option> <option value="Februari">Februari</option> <option value="Maart">Maart</option> <option value="April">April</option> <option value="Mei">Mei</option> <option value="Juni">Juni</option> <option value="Juli">Juli</option> <option value="Augustus">Augustus</option> <option value="September">September</option> <option value="Oktober">Oktober</option> <option value="November">November</option> <option value="December">December</option> </select> <select name="ajaar" id="ajaar"> <option value="Jaar">Jaar</option> <option value="2008">2008</option> <option value="2009">2009</option> <option value="2010">2010</option> </select> </td></tr> <tr><td valign="top">Vertrekdatum:</td><td><select name="vdag" id="vdag"> <option value="Dag">Dag</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> <option value="13">13</option> <option value="14">14</option> <option value="15">15</option> <option value="16">16</option> <option value="17">17</option> <option value="18">18</option> <option value="19">19</option> <option value="20">20</option> <option value="21">21</option> <option value="22">22</option> <option value="23">23</option> <option value="24">24</option> <option value="25">25</option> <option value="26">26</option> <option value="27">27</option> <option value="28">28</option> <option value="29">29</option> <option value="30">30</option> <option value="31">31</option> </select> <select name="vmaand" id="vmaand"> <option value="Maand">Maand</option> <option value="Januari">Januari</option> <option value="Februari">Februari</option> <option value="Maart">Maart</option> <option value="April">April</option> <option value="Mei">Mei</option> <option value="Juni">Juni</option> <option value="Juli">Juli</option> <option value="Augustus">Augustus</option> <option value="September">September</option> <option value="Oktober">Oktober</option> <option value="November">November</option> <option value="December">December</option> </select> <select name="vjaar" id="vjaar"> <option value="Jaar">Jaar</option> <option value="2008">2008</option> <option value="2009">2009</option> <option value="2010">2010</option> </select> </td></tr> <tr><td valign="top">Welke huisje:</td><td><select name="huisje" id="huisje"> <option value="1">.____Huisje Zomerbries_____.</option> <option value="2">.____Huisje Wervelwind_____.</option> <option value="3">.____Huisje Tornado________.</option> </select> <tr><td valign="top">Aantal personen:</td><td><select name="aantal personen" id="aantal personen"> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> </select> <tr><td valign="top">Overige vragen:</td><td><textarea name="bericht" rows="6" cols="23" id="bericht" class="area"></textarea></td></tr> <tr><td valign="top"></td><td><input type="submit" name="sendFormButton" value="Verzenden" id="sendFormButton" /></td> </tr> </table> </form> </td></tr></table> This is what i get once tested... its out of order... Help me plz...... Im not good with those thingz.. hi just wondering if someone can look over this code i have below... i think something is wrong lol its not bouncing emails to me soooo i'm kinda lost i think i have 2 forms working in one which isnt good... but can i have text input and image upload in one form?? i know you guys will be like "man this chick has it all wrong" but be nice thanks in advance kel Code: <br><br><FORM METHOD=POST ACTION="mailto:a*****@***.com" ENCTYPE="text/plain"> Name: <br><TEXTAREA NAME="COMMENTS" ROWS=1 COLS=20> </TEXTAREA> <br> Address: <br><TEXTAREA NAME="COMMENTS" ROWS=5 COLS=20> </TEXTAREA> <br> Upload image here.. For Best Results use an image as close to 1500x1500px as possible: <br><FORM METHOD=POST ACTION="mailto:*****@***.com" ENCTYPE="multipart/form-data"> <INPUT TYPE="file" NAME="upload"> </FORM> <br> <INPUT TYPE="submit" VALUE="Send"> <INPUT TYPE="reset" VALUE="Clear"> <br> </form> <!-- ** END OF FORM ** --> i am currently struggling in making a mailto form. I would like it to be so a individual type in there name / email address / comment then it sends to a email address without going to the default email set on computer. how easy is this to set up? thanks Im trying to set up a simple form filler to get comments/feedback via e-mail for an Intranet site. This is the code im using: Code: Please Complete the following form to submit Your Comments. <BR><BR> <form method="POST" action="mailto:e-mail address here?subject=Test" enctype="text/plain"> Name: <input type="text" size="8" maxlength="8" name="Name"> <BR><BR> Comments <BR> <textarea name="Comments" rows="10" cols="50" Wrap="virtual"> </textarea> <BR><BR> <input type="submit" value="Send"> <input type="reset" value="Clear Form"> </form> </Font> </TD> </TR> </TBODY> </TABLE> Works ok on most computers. The problem is the program used for sending e-mails is GroupWise but some of the PC's are trying to use outlook but its not installed on any of the PC's. Is there a code to tell it to use GroupWise and not Outlook? I want to have a Subject title "I want to hire you for a project" automatically appear in the email program (Outlook Express and so on..) when someone clicks on my email. Is there a way to do this? Thanks a lot for your help -khan Hi all I'm trying to create a website on the intranet at work and want to place a link that when clicked will open an email to an unknown email address (one that will change form one use to another) and have a specific file attached to that email. I have spent the past few days looking all around the web and have found conflicting information some things say that you can do it and others say that you can't. I have been using this code... mailto:name@domain.com?subject=requested file&attachment=""f:\test.txt"" when i do this i get it to open an email with no attachment or i get an error message that i can't recreate right now but it is something to the toon of "invaild comand line. check the switch you are using" any help or solutions that would be great. If this can't be done with mailto can it be done another way? i'm using html and trying to open the emial in outlook 2003 thanks Nick So I understand that HTML Mailto forms don't work unless they go through the CGI Script directory of my server first. I called my server to ask them... And they definitely didn't understand what I was asking. Is there a way I can talk to them about how to get this HTML mailto form working properly without using HTML language? Since they pretty much don't understand it, anyway. Or is there a way I can find that information online? I don't see why they didn't understand... It says right in the package I bought for my domain that there is a CGI directory included. Hi, I am using af simple mailto funktion but is it possible that i will send the same message to more than one person? <form action="mailto:xxx@lxxx.com?subject=Besked fra CNC-Spindel" method="post" enctype="text/plain"> <table><tr><td> Navn: <INPUT NAME="Navn" TYPE="text" SIZE=20><BR> <TEXTAREA NAME="Besked" ROWS=10 COLS=45></TEXTAREA><BR> </td></tr> <tr><td align=center> <INPUT TYPE="submit" value="Send Besked" style="color: #ffffff; background-color: #000000"> </td></tr></table> </FORM> Is there a way to use mailto to send an email to 2 recipients? Is there a way to send an email and to cc someone? Thanks so much. Heya Guys, I am new to web creation and i am using Macromedia Dreamweaver 8 to create my websites. I have got a hot spot on a webpage and i want to use mailto to create a new e-mail when the hotspot is clicked on. I have figured out how to get the e-mail to open using the following html (which dreamweaver has created based on the link i typed in): <area shape="rect" coords="573,154,633,175" href="mailto:frosty16@hotmail.co.uk" /> However i was wondering what i had to do to have something come up in the subject field as well Can anyone help? I'm trying to make a form that a person can fill out. When they click submit, it will send what they wrote to me in a e-mail. This is what I have: Code: <form action = "MAILTO:E-mail" method = "post" enctype = "text/plain"> alkdsjflasj alsdjflasdjf a;lkdfalsdj </form> <input type = "submit"> What I dont like that this does, is it opens the microsoft outlook express. I want it to send me the form information without opening outlook express. I would like it to send the form to my e-mail, and also redirect them to a different page. Hi, I am building a webpage with the mailto button to send mail to another person, it's working but is there a way to know if the user click send or close the mailto screen? Hi there, I searched online for instructions on how to set the From field of an email from the mailto hyperlink, but there is nothing out there. Is it simply not possible? Thanks, Emmi |