HTML - Html 'mailto' Problems.
On my website, I have the following action for a form:
<FORM METHOD="POST" ACTION="mailto:kaze950@hotmail.com"> However, when I test it in both firefox and internet explorer, it just opens up a window on my hotmail account sending a blank message to my e-mail adress. Is this supposed to happen? I thought that when I click 'Submit' on the form it would simply send an e-mail or something to my e-mail adress with the information on the form. Would this be the same for other people? I'm pretty new to HTML, so any help is appreciated. Similar TutorialsHi Guys, The links on my page automatically open the persons default web client, which is usually set to Outlook Express. Most people don't change their settings to use their preferred client, such as gmail or hotmail, when opening links so I was wondering is there a way of getting around this such as a code that will open up gmail or other clients. Thanks HTML Code: <center><a href="mailto:me@myemail.com?subject=Hello World&body=Hi, How are you?"><img src="myimage.jpg" border="0" alt="Barry's Tea Me"></a> </center> Okay so im basically just trying to get an Outlook Express to open up upon pressing submit in order for the details selected in a html form to be sent, basic mailto stuff, but its not working. Heres my code: Code: <form action="MAILTO:test@hotmail.com" method="post" enctype="text/plain"> <table width="700"> <tr> <td width="200">Business Name</td> <td width="500"><input name="business name" type="text" size="82" /></td> </tr> <tr> <td>Email</td> <td><input name="email" type="text" size="82" /></td> </tr> <tr> <td>Website</td> <td><input name="website" type="text" size="82" /></td> </tr> <tr> <td>Phone Number</td> <td><input name="phonenumber" type="text" size="82" /></td> </tr> <tr> <td>Country</td> <td></label> </strong> <select name="select" id="select"> <option>Afghanistan</option> <option>Albania</option> <option>Algeria</option> <option>American Samoa</option> <option>Andorra</option> <option>Angola</option> <option>Anguilla</option> <option>Antarctica</option> <option>Antigua and Barbuda</option> <option>Argentina</option> <option>Armenia</option> <option>Aruba</option> <option selected="selected">Australia</option> <option>Austria</option> <option>Azerbaijan</option> <option>Bahamas</option> <option>Bahrain</option> <option>Bangladesh</option> <option>Barbados</option> <option>Belize</option> <option>Belgium</option> <option>Benin</option> <option>Bermuda</option> <option>Bhutan</option> <option>Bolivia</option> <option>Bosnia and Herzegovina</option> <option>Botswana</option> <option>Bouvet Island</option> <option>Brazil</option> <option>British Indian Ocean Territory</option> <option>Brunei darussalam</option> <option>Bulgaria</option> <option>Burkina Faso</option> <option>Burundi</option> <option>Cambodia</option> <option>Cameroon</option> <option>Canada</option> <option>Cape Verde</option> <option>Cayman Islands</option> <option>Central African Republic</option> <option>Chad</option> <option>Chile</option> <option>China</option> <option>Christmas Islands</option> <option>Cocos (Keeling) Islands</option> <option>Colombia</option> <option>Comoros</option> <option>Congo</option> <option>Cook Islands</option> <option>Costa Rica</option> <option>Ivory Coast</option> <option>Croatia</option> <option>Cuba</option> <option>Cyprus</option> <option>Czech Republic</option> <option>Denmark</option> <option>Djibouti</option> <option>Dominica</option> <option>Dominican Republic</option> <option>East Timor</option> <option>Ecuador</option> <option>Egypt</option> <option>El Salvador</option> <option>Equatorial Guinea</option> <option>Eritrea</option> <option>Estonia</option> <option>Ethiopia</option> <option>Falkland Islands (Malvinas)</option> <option>Faroe Islands</option> <option>Fiji</option> <option>Finland</option> <option>France</option> <option>France, Metropolitan</option> <option>French Guiana</option> <option>French Polynesia</option> <option>French Southern Territories</option> <option>Gabon</option> <option>Gambia</option> <option>Georgia</option> <option>Germany</option> <option>Ghana</option> <option>Gibraltar</option> <option>Greece</option> <option>Greenland</option> <option>Grenada</option> <option>Guadeloupe</option> <option>Guam</option> <option>Guatemala</option> <option>Guinea</option> <option>Guinea Bissau</option> <option>Guyana</option> <option>Haiti</option> <option>Heard Island and Mc Donald Islands</option> <option>Honduras</option> <option>Hong Kong</option> <option>Hungary</option> <option>Iceland</option> <option>India</option> <option>Indonesia</option> <option>Iran (Islamic republic of)</option> <option>Iraq</option> <option>Ireland</option> <option>Israel</option> <option>Italy</option> <option>Jamaica</option> <option>Japan</option> <option>Jordan</option> <option>Kazakhstan</option> <option>Kenya</option> <option>Kiribati</option> <option>Korea, Democratic people's Republic of</option> <option>Korea, Republic of</option> <option>Kuwait</option> <option>Kyrgyzstan</option> <option>Lao people's democratic republic</option> <option>Latvia</option> <option>Lebanon</option> <option>Lesotho</option> <option>Liberia</option> <option>Libyan Arab Jamahiriya</option> <option>Liechtenstein</option> <option>Lithuania</option> <option>Luxembourg</option> <option>Macau</option> <option>Madagascar</option> <option>Malawi</option> <option>Malaysia</option> <option>Maldives</option> <option>Mali</option> <option>Malta</option> <option>Marshall islands</option> <option>Martinique</option> <option>Mauritania</option> <option>Mauritius</option> <option>Mayotte</option> <option>Mexico</option> <option>Micronesia (Federated States of)</option> <option>Moldova, Republic of</option> <option>Monaco</option> <option>Mongolia</option> <option>Montserrat</option> <option>Morocco</option> <option>Mozambique</option> <option>Myanmar</option> <option>Namibia</option> <option>Nauru</option> <option>Nepal</option> <option>Netherlands</option> <option>Netherlands Antilles</option> <option>New Caledonia</option> <option>New Zealand</option> </select></td> </tr> <tr> <td>Design Service</td> <td><select name="select" id="select"> <option selected="selected">Album Art</option> <option>Book Cover</option> <option>Business Card</option> <option>Flyer</option> <option>Logo</option> <option>Ornament Design Concepts</option> <option>Other</option> <option>Poster</option> </select></td> </tr> <tr> <td>Budget</td> <td><select name="select" id="select"> <option selected="selected">$0-100</option> <option>$101-300</option> <option>$301-700</option> <option>$701-1000</option> <option>$1001-1500</option> <option>$1501-3000</option> <option>$3001-7000</option> <option>$7001+</option> </select></td> </tr> <tr> <td>Project Information</td> <td><textarea name="comments" rows="10" cols="63" value""></textarea></td> </tr> <tr> <td> </td> <td><input name="Submit" type="submit" value="Submit" /> <input name="Reset" type="reset" value="Reset" /></td> </tr> </table> </form> I just want the Business Name, Email, Website, Phone Number, Country, Design Service, Budget and Project information fields to be present in the outlook express email, but right now it wont even open it. Any help would be much appreciated. 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, 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? 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. 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> 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? 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. Hi, I reciently built a site where I included a mailto: link. I placed it in my code using the dropdown menu in Dreamweaver. I have never used the dropdown before and this time the link doesn't work. Can any one tell me why? Here is a link to the site, www.yatchstuff.com see the contact page. Thank you in advance. Quicpic 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> 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. Can I make it so that there is a text box and when someone enters something into the textbox and submit it, it will mail to my email.. Thanks in advance. And also, hey everyone.. My first post here 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. 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? 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 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! Hi, 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> 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 |