HTML - Sending Email Dilemma
here is the story..
i have a form, after the user fills the form an email will be sent containing the user input to send the email, at the end of the form i used <input type="submit" ...> and the action of the form is "mailto:bla bla" now the problem is, i want to put an image instead of the submit button, if there is no submit button there is no form action, how can i send the email ??? i know two ways to send an email, in the action of a form & in the href of a link tag, is there another way to do that?? really appreciated Similar TutorialsHi I am learning XHTML and was wondering if you could help me to give me the tag on how to send a form by email in 'clean' text (no word1+word2+word3... format). I have tried several things and failed. Thank you in advance if you can help. Guys , can you help me with a script for the requirement below? I need an email sending script with 2 fields and a button. The first one is number , and second is msg. Number field should only have 10 numbers only, and should verify whether it begin with zero. The msg field should have only 135 charactors. When people type a number and a msg , the email should be sent with details below...! From : blank if possible. If not , smsmaster@esecrets.tk To : 9471xxxxxxx@sms.Mobitel.lk (xxxxxx means the last 7 digits of what people entered in number field. Subject : -no subject- msg : sms.eSecrets.tk xxxxxxxx...... X letters are to the msg field... After people press the button , SEND , it should send msg immeadiately and should return to the url below : m.eSecrets.tk/confiremed please email the script to AyeshLakmal @ gmail . com. Thank you very much. Hello I've searched the web for a simple form code that has a "submit" button, so that when a user clicks it I will receive an email with the submitted data - but - I want the user to click "submit" without being transferred to his default email program. I want him only to enter the data and when he presses the button, the data will be sent to my email. I want to put this code in a blog that supports HTML. What code can I use for it? I hope I made my question clear. I will really be happy to receive your help. Thank you very much. Is there a way to send an email from an HTML page (perhaps using javascript or just HTML) with an attachment? I know it can be done with server-side scripts but what about from the client only? So far everything I've tried generates an email but without the attachment. Thanks! I have created some forms and want them to be submitted to an email address, but when I click the submit button it opens my email program instead of submitting. Site: www.dismantledesign.com/website Here is my form code: Code: <form class="form" action="mailto:matthewtyndall@gmail.com" method="POST" enctype="multipart/form-data" name="EmailForm"> <input type="hidden" name="action" value="verify"><table> <tr><td style="text-align: left;" valign=top><font size="2" FACE="Verdana" color="#000000">Name:</font><small><span style="color:#E00000;" title="Required field">*</span></small></td><td align="left"> <input name="control64609" type="text" value="" size="20"/> </td></tr> <tr><td style="text-align: left;" valign=top><font size="2" FACE="Verdana" color="#000000">Email:</font><small><span style="color:#E00000;" title="Required field">*</span></small></td><td align="left"> <input name="control64610" type="text" value="" size="20"/> </td></tr> <tr><td style="text-align: left;" valign=top><font size="2" FACE="Verdana" color="#000000">Phone:</font><small><span style="color:#E00000;" title="Required field">*</span></small></td><td align="left"> <input name="control64611" type="text" value="" size="20"/> </td></tr> <tr><td style="text-align: left;" valign=top><font size="2" FACE="Verdana" color="#000000">City:</font><small><span style="color:#E00000;" title="Required field">*</span></small></td><td align="left"> <input name="control64613" type="text" value="" size="20"/> </td></tr> <tr><td style="text-align: left;" valign=top><font size="2" FACE="Verdana" color="#000000">Subject:</font><small><span style="color:#E00000;" title="Required field">*</span></small></td><td align="left"> <input name="control64614" type="text" value="" size="20"/> </td></tr> <tr><td style="text-align: left;" valign=top><font size="2" FACE="Verdana" color="#000000">Message:</font><small><span style="color:#E00000;" title="Required field">*</span></small></td><td align="left"> <textarea name="control64615" rows="7" cols="35"></textarea> </td></tr> <tr><td valign=top><font size="2" FACE="Verdana" color="#000000">Verification No.:<small><span style="color:#E00000;" title="Required field">*</span></small></font></td> <td align="left" valign=top><input name="txtNumber" type="text" id="txtNumber" value="" size="10"></td></tr> <tr><td align=right><a title="Don't know why you have to enter this verification number? Click here!" href="http://www.123contactform.com/faq.html"><img border="0" src="http://www.123contactform.com/img/help_icon.gif" alt="contact form faq"></a></td> <td align="left"><img src="http://www.123contactform.com/random.php"></td> </tr> <tr><td></td><td align="left"><input type="submit" value="Send email"/></td></tr> </table> </form> 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? Im new to all this so excuse me if i ask/say stupid things...im still learning so im doing an email newsletter with like 8 images or so and its all good,so actually there is no problem...but thats what i dont understand. The path for the pictures is this: <img style="display:block;"src="file:///C|/Users/robbysanne/Documents/nieuwsbrieftemplates/html/images/se1.jpg"width="69"height="235"border="0"alt=""/> there in tables. So the images are on my harddrive...not online...but when i send the email with mozilla thunderbird to various hotmail,and gmail acounts on different computers elswhere the pictures still show up....and not as an attachment that you first have to download,but the whole newsletters displays properly. How is that possible? i thought that i was supposed to put the images on a server first,get them online and then link them.. thanks! Hope someone can help me. I've got a html page set up so that my clients can type in their name, choose several options via radio buttons, an option to clear the form, then submit the form. What I'm having trouble with is how to obtain the information from the form. I think I would prefer this to be retrieved via email. Is there a way I can: 1. Have the subject of the email be the name of the client (whatever they type in) 2. The results of the form sent to my email (let's say it's myemail@university.edu) Thanks in advance! Here is the html code I have: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Bonus</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <form method = "post" action = "mailto:myemail@university.edu"> <p> Type your name in the box below then select the advancing team and click <i>submit</i> when finished. </p> <p> Name: <input type = "text" name = "name" maxlength = "30"/> </p> <table border = "5"> <tr> <td colspan = "2" align = "center"><b>STANLEY CUP PLAYOFF HUNT BRACKET</b></td> </tr> <tr> <td width="328" align = "center">Eastern Conference</td> <td width="359" align = "center">Western Conference</td> </tr> <tr> <td><input type = "radio" name = "group1" value = "BB"/>Boston Bruins (1) <input type = "radio" name = "group1" value = "MC"/>Montreal Canadiens (8)</td> <td><input type = "radio" name = "group2" value = "SJS"/>San Jose Sharks(1) <i>vs.</i> <input type = "radio" name = "group2" value = "AD"/>Anaheim Ducks (8)</td> </tr> <tr> <td><input type = "radio" name = "group3" value = "WC"/>Washington Capitals (2)<input type = "radio" name = "group3" value = "NYR"/>New York Rangers (7)</td> <td><input type = "radio" name = "group4" value = "DRW"/>Detroit Red Wings (2) <i>vs.</i><input type = "radio" name = "group4" value = "CBJ"/>Columbus Blue Jackets (7)</td> </tr> <tr> <td><input type = "radio" name = "group5" value = "NJD"/>New Jersey Devils (3) <input type = "radio" name = "group5" value = "CH"/>Carolina Hurricans (6)</td> <td><input type = "radio" name = "group6" value = "VC"/>Vancouver Canucks(3) <i>vs.</i><input type = "radio" name = "group6" value = "SLB"/>St. Louis Blues(6)</td> </tr> <tr> <td><input type = "radio" name = "group7" value = "PP"/>Pittsburgh Penguins (4) <input type = "radio" name = "group7" value = "PF"/>Philadelphia Flyers (5)</td> <td><input type = "radio" name = "group8" value = "CB"/>Chicago Blackhawks (4) <i>vs.</i><input type = "radio" name = "group8" value = "CF"/>Calgary Flames (5)</td> </tr> </table> <p></p> <p><input type = "reset" value = "Reset"/> <input type = "submit" value = "Submit" /></p> </form> </body> </html> 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've made my email newsletter using html and uploaded it to my server. I only need to get the html coded newsletter into the gmail client. After searching on google for a couple hours I've gotten frustrated not being able to find the correct method of doing this. I tried clicking and dragging from the uploaded html file in my internet browser, which sort of works except I then lose all the hyperlinks (text and image) in the transfer. What exactly is the process in doing this? Thanks a ton! I have a directory with thousands of links. I want to start exceeding 100/links/page, which would put me in "link farm" territory with Google. I want the links to remain live. The site is a directory. How can I establish my site, or code it, so that I won't get into trouble? Thanks very much for your help! Bengo Hello everyone. I hope someone here can help me, or at least tell me what I need to do can't be done! Here is my situation: I have a .war file that calls an index.html file from a shared directory. That works great, but unfortunately the c: drive on my server is running low on space, so the server admin wants my shared directories to be moved to the d: drive. I have modified the index.html file on the c: drive being accessed by my .war file to load another index.html file on the d: drive, but it is not working. I have tried <BODY onLoad="document.location.href='d:\index.html'"> and <SCRIPT LANGUAGE="JavaScript"><!-- function go_now () { location.href = "D:/index.html"; }//--> </SCRIPT></HEAD> <BODY onLoad="go_now ()"> Any ideas? Thanks! I guess I'm technically a noob. I've only half heartedly plied my feeble html skills for about 12 years. Right, well, a site I am working on has a rather long index page and several times along it there is a link to another page. They are all links to the same page and what I desire to do is allow my visitors to click on a link on that second page that will take them back to the same spot they were at on the index page. I know it's what the browser's back button does but I want to really "dumb it down" for the visitors. I can't seem to get the code and it's probably something so simple I'll kick myself, or... I'm just asking for something that can't be done What am I missing? (besides a few marbles) Cheers, +Nathan 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 here i have a static web-page... i want to include a mail function into it.... Like someone enter to the site and type something to the textbox or something like that and hit the submit button den his message will be send to my mail id... my 1st question is that is it possible to make thik happen in to a static webpage? if yes den wat i will do..? plz help me with the code..... or not den wat i have to do to implement this mail function..... I have an online form done in html. I need the person to be able to submit the form first and then be able to print the form after they have sent it. How can this be done? Thanks I am currently near my deadline to hand in my c/w....i have created a webpage on visual studio web developer where i have created a feedback form, however i am having problems in gettng the send button to work so that the information is sent to an email address. Any help would be much appreciated. Thank You. Hi. I created html email, have all images on the server. But how do I attach my html to email so that it shows in the body of email and not as an attachement?? Thanks!!!! Really dumb question... How do you get the forms to send to your e-mail account? I need a simple, easy-to-set-up-but-relieable way to do it. Hi, its been many years since i've done any website / html work but a friend of mine asked me to help him add a form to his marriage website that basically works as a RSVP option. he wants people to be able to add their name and click if they are going to be attending or not...click submit and have it send it to his e-mail. Making the form was easy (and i won't bore u with the code), the only problem i'm having with is how to make the submit button send an e-mail. I did some looking and it seems like its going to require the user to have sending e-mails enabled thru their browser? does anyone know of an easy way to do this (preferably one that doesn't require the user to have any sort of brain) ? Simple is better and all i need is a quick fix thx for any help bigunn |