HTML - Html Email Form Problem
I have created a simple HTML email form on my linux server. Seems simple enough, yet every time I test it, Outlook tries to open and my form is never emailed. Does anyone know how to correct this?
Here is my code: <CENTER> <FORM METHOD=POST ACTION="mailto:test@yahoo.com" ENCTYPE="text/plain"> Subject:<INPUT TYPE="text" NAME="username"> <BR> <INPUT NAME="email" TYPE="hidden" VALUE="<?php echo $_SESSION['email']; ?>"> <BR> Question <BR> <TEXTAREA NAME="COMMENTS" ROWS="10" WRAP="hard"> </TEXTAREA> <INPUT NAME="redirect" TYPE="hidden" VALUE="gm.php"> <INPUT NAME="NEXT_URL" TYPE="hidden" VALUE="gm.php"> <BR> <INPUT TYPE="submit" VALUE="Send"> </FORM> </CENTER> Also, if anyon knows how to create this form in php, that would work as well. Similar Tutorialsscript completed, thx Hi i am looking for a bit of help creating an email form. I would like it to contain a table with 4 columns per row - the middle two cells would contain a drop down menu each. the form would have a send button which would send the results in an easy to read format to a pre-defined address. ideally it would work on hotmail, yahoo etc. i would be really grateful for any hints and tips anyone could give many thanks Hello, I am trying to to write HTML code that will let people fill out a form, but I need it sent to an email address (tcutler@lighthouseandmeyu.org) This is what I have: HTML Code: Please Provide Your Input!: <form action="tcutler@lighthouseandmeyu.org" METHOD=POST> <P><TEXTAREA ROWS=10 COLS=50 NAME=Comments></TEXTAREA></P> <P><INPUT TYPE=SUBMIT VALUE=Send></P> </FORM> Oh man.... I have had a hell of a FIRST time coding for an html email newsletter for a local band. I first had an idea of making the bottom section of this email with images and then using an image map for the links to the Amazon, Itunes, Store and etc... But then once I'm done coding the image maps I send a sample email and links don't work. So I do a little research and supposedly image maps are sketchy and rarely work especially in Gmail <---- which is what I am using. Soooo..... My other approach to this problem was to slice it up and make Photoshop CS4 do the work. Which works great when you view it in a browser, BUT once you send it as a e-mail it adds all sort of spacing around images, and even makes the images larger in size. So somebody have any thoughts on this? THanks! Here is the link to the email up on the server...Working perfectly until i send it as an email: http://gordonavenue.com/emails/tanta..._tuesdays.html Here is an image of what the sliced up part looks like when I send it as an email [IMG][/IMG] I have this code that I am using for a contact form on my website. What do I need to add for it to send the data in the fields to my email address Code: <form name='Contact Time For You' action='sent.htm' method='POST' enctype='multipart/form-data' onsubmit='return verifyMe();'> <table class='table_form_1' id='table_form_1' cellspacing='0' width="271" align="right"> <tr> <td class='ftbl_row_1a' width="241" align="left" > <font face="Arial" size="2"><LABEL for='Full_Name' ACCESSKEY='none' ><b style='color:red'>*</b>Your Name </label></font> <font face="Arial"> <input type='text' name='Full_Name' id='Full_Name' size='34' value=''></font></td> </tr> <tr> <td class='ftbl_row_2a' width="241" align="left" > <p> <font face="Arial" size="2"><LABEL for='Email' ACCESSKEY='E' ><b style='color:red'>*</b><u>E</u>mail Address </label></font> <font face="Arial"> <input type='text' name='Email' id='Email' size='34' value=''></font></td> </tr> <tr> <td class='ftbl_row_1a' width="241" align="left" > <p style="margin-top: 0; margin-bottom: 0"> <font face="Arial" size="2"><LABEL for='Telephone' ACCESSKEY='T' ><b style='color:red'>*</b><u>T</u>elephone </label></font> </p> <p style="margin-top: 0; margin-bottom: 0"><font face="Arial"><input type='text' name='Telephone' id='Telephone' size='15' value=''></font></p> <p style="margin-top: 0; margin-bottom: 0"> </td> </tr> <tr> <td class='ftbl_row_2a' width="241" align="left" > <font face="Arial" size="2"><LABEL for='Enquiry_Text' ACCESSKEY='none' ><b style='color:red'>*</b>Enquiry</label></font><font face="Arial"><textarea name='Enquiry_Text' id='Enquiry_Text' cols='28' rows='6' value=''></textarea></font></td> </tr> <tr> <td class='ftbl_row_1a' width="241" align="left" > <p> <font face="Arial" size="2"><LABEL for='Code' ACCESSKEY='none' ><b style='color:red'>*</b>Offer Code </label></font> <font face="Arial"> <input type='text' name='Code' id='Code' size='34' value=''></font></td> </tr> <tr> <td align='center' width="249"> <p style="margin-top: 1; margin-bottom: 1"> </p> <p style="margin-top: 1; margin-bottom: 1"><font color="#FFFFFF"> <input type='submit' name='submit' value='Send' style="float: right; color: #FFFFFF; font-family: arial; font-weight: bold; background-color: #000080"></font> </td> </tr> </table> </form> Thank you in advance, Dan Hi I'm sending an HTML file as an Email attachment. When I send it the <meta> tag contains "charset=iso-8859-8" - Hebrew(ISO-Visual) but when the recipiant opens it the charset has changed to "charset=iso-8859-8-i" - Hebrew(ISO-Logical) which causes the text to appear left-to-right instead of right-to-left as I sent it. What causes this behaviour and how can I correct it? Thanks for any help David Paddling upstream searching for the source I have run into an issue email html code. It seems that some or all email clients use Quoted-Printable encoding when display messages. Quoted-Printable encoding will change the = the 3d= whick for most tags is not an issue. However, our cart provider uses a form for our add to cart, view cart etc.. and cannot interpret the Quoted-Printable encoding. What happens is the tag in there form ID="cartID" is turned into ID3D="cartID" when displayed in an email client... Which fails on our cart providers server. Any help, ideas or suggestions? Hi guys, I created a email template for company usage using html, i put company`s logo in it, it works perfect with outlook and windows live mail, but when i open that email template in browsers, i see .jpg file at the end of the mail message. Is there any way to get rid of this? Thanks. here is a screenshot of my problem: http://img26.imageshack.us/img26/5672/16715830.jpg Hi, I want to put in a form to get queries from the user, like so: Name: Email: Comments: 'Send' button and that it will send the information to my email address which is gmail? Thanks Dear Friends, I need to sort out this "HTML Form" problem asap. Actually I want to link up the form submit button to my email so that when an user click the submit button of the form, it will staright away submit to my email address without using any outlook or other mail clients. My email address is dev@hss.org and i wanna link up the submit button to it using the below mentioned form... can anyone do that for me ... Please ... Thank you .. Arco <script language='javascript'> function verifyMe(){ var msg=''; if(document.getElementById('Name').value==''){ msg+='- Full Name\n\n';} var email=document.getElementById('Email').value; if(!(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(email))){ msg+='- Invalid Email Address: '+email+'\n\n';} if(document.getElementById('Email').value==''){ msg+='- Email\n\n';} if(document.getElementById('Country').value==''){ msg+='- Country\n\n';} if(document.getElementById('Problem').value==''){ msg+='- Questions/Problem\n\n';} if(document.getElementById('Newsletter').value==''){ msg+='- Newsletter\n\n';} if(document.getElementById('Prescription').value==''){ msg+='- Medical Prescription\n\n';} if(msg!=''){ alert('The following fields are empty or invalid:\n\n'+msg); return false }else{ return true } } </script> <form name='Doctor' action="htmform.htm"' method='POST' enctype='multipart/form-data' onsubmit='return verifyMe();'> <table class='table_form_1' id='table_form_1' cellspacing='0'> <tr> <td class='ftbl_row_1' ><LABEL for='Name' ACCESSKEY='F' ><b style='color:red'>*</b><u>F</u>ull Name </td> <td class='ftbl_row_1a' ><input type='text' name='Name' id='Name' size='45' value=''> </td> </tr> <tr> <td class='ftbl_row_2' ><LABEL for='Email' ACCESSKEY='E' ><b style='color:red'>*</b><u>E</u>mail </td> <td class='ftbl_row_2a' ><input type='text' name='Email' id='Email' size='45' value=''> </td> </tr> <tr> <td class='ftbl_row_1' ><LABEL for='Country' ACCESSKEY='A' ><b style='color:red'>*</b>Country </td> <td class='ftbl_row_1a' ><input type='text' name='Country' id='Country' size='45' value=''> </td> </tr> <tr> <td valign='top' class='ftbl_row_2' ><LABEL for='Problem' ACCESSKEY='Q' ><b style='color:red'>*</b><u>Q</u>uestions/Problem </td> <td class='ftbl_row_2a' ><textarea name='Problem' id='Problem' cols='35' rows='6' value=''></textarea> </td> </tr> <tr> <td class='ftbl_row_1' ><LABEL for='Newsletter' ACCESSKEY='N' ><b style='color:red'>*</b><u>N</u>ewsletter </td> <td class='ftbl_row_1a' ><select name='Newsletter' id='Newsletter'> <option value='Yes'>Yes</option> <option value=' No'> No</option> </select> </td> </tr> <tr> <td class='ftbl_row_2' ><LABEL for='Prescription' ACCESSKEY='M' ><b style='color:red'>*</b><u>M</u>edical Prescription </td> <td class='ftbl_row_2a' ><input type='file' name='Prescription' id='Prescription' size='45' value=''> </td> </tr> <tr> <td colspan='2' align='right'><input type='submit' name='submit' value='Submit'> <input type='reset' name='reset' value='Reset'><br /> </td> </tr> </table> </form> Hello, I have created a form, but i have a big problem. I think i make a terrible mistake with the code. I think problem is comming from here, and this is the code where i have doubts: <form action=" mailto:name@somemail.com ?subject=form submission" method="post" enctype="text/plain"> My idea is to receive an email with some information of the next fields, but when i submit the information from the form , my outlook express is opening. How can i fix it and the submited info to go to my email? Thanks !!! Help please I have a form and am entering in some html code into it, but it's not posting. I guess it's a parsing error. In PHP I would addslashes or something like that, but i don't know what to do for a form... I'm sure this is really simple and i've got it wrong. I have been trying different things and searching the web for hours now... Thank you, Jo Hi all, I can not seem to figure out why a form on my fathers website is having trouble being read by Internet Explorer. The text directing what should be written (ie. Name, Telephone, Email Address, etc...) is being cut in half. I have no idea why it is doing this I have tried playing around with the cell padding to no avail. I appreciate you help Thanks, Josh Korn Hi, so I'm trying to make this e-mail newsletter. It's entirely images, tables and text. So no javascript, just plain stuff. I tried attaching it as a signiture file and I had trouble sending it. It also didn't come out right. I'm trying to avoid using a software. Its basically just a block of HTML I need to show up as the only content in an email. If you just put HTML into a email text field, it just shows the HTML code in the email as text. Any ideas? can anyone help me with this, it looks ok but it wont email Code: <form action="mailto:byp_webmaster@hotmail.co.uk" method="POST" enctype="multipart/form-data" name="Website contact form"> <table border="1" align="center"> <td> <center>Your Name:</center><input type="text" align="center" size="40" maxlength="50" name="name"> <br><br> <center>Your Email:</center><input type="text" align="center" size="40" maxlength="50" name="Email"> <br><br> <center>Message:</center><textarea cols="50" rows="4" name="Message" align="center"></textarea><br> <center><input type="submit" value="Send Email" ></center> </td> </table> </form> Hi, I want to ask is there any way to send email form html?? like php mail() is there something in php. Or sending by smtp???? hi all, something I thought would be simple is, well, not so simple for me!! all that I want to do is send a complete html web page as an ordinary email so that people viewing it can click on the existing links and buttons.(for payments etc) I have tried sending it several times and on aol none of the headings/gif's n jpg's are displayed, using squirrel mail, some of the links are highlighted, however, some are missing. using outlook, well, no comment!!! surely there is an easy (hehe) way to send a whole hyml web page as an email? many thanks for all help, Ed Hi Everyone, I just created an email template that i want to send out and i am getting lots of errors when I'm testing it. All my images are showing up as attatchments, Can i prevent this? My page doesn't work across all browsers, spacing issues in gmail, hotmail is giving me and extended height in a few places. I have a search box as well that I want to include- is that a bad idea? How can avoid this / fix these problems. If requested i will include my code. Thanks hi im not sure if this is the right section but ive been looking around and cant find what i need so im asking for help. i have a html form like so Code: <form name="riskform" method="post" enctype="text/plain" > <div id="formtop">Name: <br> <input type="text" name="Name" /><br /><br /> Company: <br> <input type="text" name="Company" /><br /><br /> Location:<br /><input type="text" name="Location" /> <br><br /></div><br /> <h2>Risk Selection</h2> <div id="list"> <label><input type="checkbox" name="Extream Weather" />Extream Weather</label><br /><br /> <label><input type="checkbox" name="Confined Space" />Confined Space</label><br /><br /> <label><input type="checkbox" name="Traffic" />Traffic</label><br /><br /> <label><input type="checkbox" name="Slip/Trip" />Slip/Trip</label><br /><br /> <label><input type="checkbox" name="Noise" />Noise</label><br /><br /> <label><input type="checkbox" name="Falling Object" />Falling Objects</label><br /><br /> <label><input type="checkbox" name="Machinary" />Machinery</label><br /><br /> <label><input type="checkbox" name="Equiptment" />Equiptment</label><br /><br /> <label><input type="checkbox" name="Construction Work" />Construction Work</label><br /><br /> </div> <div id="sub"><input type='submit' name='Submit' value='Submit'/></div><br /><br /> </form> and what i want to happen is when the user clicks submit this form is emailed to my site admin, ive looked at mailto: but i want the page to be email as a page view the same as how it looks if you print the page. hope that makes sense I'm having trouble using html email. Everything works fine except the link I put in it. I need to have a link parents will click on which will take them to a webpage which will automatically register them. When I test it (on my Mac - sorry ... a real computer) it works great, but the parents of my students say the link doesn't work. I tested the email again by sending it to one of my fake yahoo.com email accounts, and sure enough, the link was NOT active. Here is what it looked like: <a href="register.php?id=1712">click here</a> Can someone tell me what I might be doing wrong. |