HTML - Email Forward Code For Form
Hi, ive been trying for ever, but i just cant make a code that forwards all the emails from my contact form thing to my email adress.
if you want me to be more spacific, just ask. ---------------- Thanks, zigga Similar TutorialsHi, and sorry for being yet another individual with the same question. I am a total rookie as far as code, and someone else built this form for me. I know enough to know that given that I do not see an email addy anywhere in the code, that is is not surprising that I am not receiving it. This is a form built into a wordpress site. I assume something is missing at the very beginning where it says "mailsend.php" If anyone could tell me what code I need to add, I would GREATLY appreciate it. Thank you in advance! <form action="mailsend.php" method="post" name="contactform" onsubmit="return fullcheck()"> <table width="196" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td colspan="2" class="formtext">If you would like to schedule a free personal injury consultation, contact the Scott McPherson Law Firm in New Port Richey, Florida today.</td> </tr> <tr> <td colspan="2"><img src="images/sp.gif" alt="" width="1" height="16" /></td> </tr> <tr> <td width="67" class="formtext">Name:</td> <td width="129"><input name="name" type="text" class="form_border" style="width:129px;" /></td> </tr> <tr> <td colspan="2"><img src="images/sp.gif" alt="" width="1" height="6" /></td> </tr> <tr> <td width="67" class="formtext">Email:</td> <td width="129"><input name="email" type="text" class="form_border" style="width:129px;" /></td> </tr> <tr> <td colspan="2"><img src="images/sp.gif" alt="" width="1" height="6" /></td> </tr> <tr> <td width="67" class="formtext">Phone:</td> <td width="129"><input name="phone" type="text" class="form_border" style="width:129px;" /></td> </tr> <tr> <td colspan="2"><img src="images/sp.gif" alt="" width="1" height="6" /></td> </tr> <tr> <td width="67" class="formtext">Address:</td> <td width="129"><input name="address" type="text" class="form_border" style="width:129px;" /></td> </tr> <tr> <td colspan="2"><img src="images/sp.gif" alt="" width="1" height="6" /></td> </tr> <tr> <td width="67" class="formtext">City:</td> <td width="129"><input name="city" type="text" class="form_border" style="width:129px;" /></td> </tr> <tr> <td colspan="2"><img src="images/sp.gif" alt="" width="1" height="6" /></td> </tr> <tr> <td colspan="2" valign="top"><table width="196" border="0" cellspacing="0" cellpadding="0" align="left"> <tr> <td width="65" class="formtext">State:</td> <td width="56" align="left"><input name="state" type="text" class="form_border" style="width:50px;" /></td> <td width="24" class="formtext">Zip:</td> <td width="51"><input name="zip" type="text" class="form_border" style="width:47px;" /></td> </tr> </table></td> </tr> <tr> <td colspan="2"><img src="images/sp.gif" alt="" width="1" height="6" /></td> </tr> <tr> <td width="67" valign="top" class="formtext">Comments:</td> <td width="129"><textarea name="comments" class="form_border" style="width:129px; height:86px; overflow:hidden;" rows="" cols=""></textarea></td> </tr> <tr> <td colspan="2" class="formtext">Please insert what you see in the image: </td> </tr> <tr> <td><img src="captchaImage.php" alt="captcha image"/></td> <td><input type="text" id="captcha_input" name="captcha_input" class="form_border" style="width:129px;" /></td> </tr> <tr> <td colspan="2"><input type="hidden" value="<?=basename($_SERVER['PHP_SELF'])?>" name="pagename" /><img src="images/sp.gif" alt="" width="1" height="13" /></td> </tr> <tr> <td colspan="2" align="right"><input type="hidden" value="1" name="enter" /><input type="image" name="submit" src="images/submit.jpg" /></td> </tr> </table></form> can someone provide me with a working html code for my blogspot so that i can go back and go forward pages ): ive tried like a dozen if not more codes but not one of them work the 'go back' thing shows up but it doesnt actually work help please 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. 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 script completed, thx Just a brief question regard HTML emails - I have made this sample design and coded it with inline CSS styling. Just two things - one: is the code terrible?? I read that some email clients knock the header and body out of the email code so inline CSS is the safest way to go. Second, does the design stink? Silly question and i know its a tech forum but its either going to get me a job or not... lets hope so eh? http://www.cfernandez.net/edialog/tesco_css.html -Cheers c The "mailto:" code is fine for a link that has people send an email, IF they are using a non-web-based email program such as Outlook. But if a person is using, say, hotmail, and doesn't know how to configure hotmail as their default email program, how can I write html code that will take them to this kind of web-based email site for writing their email? I have a client who doesn't understand why she can't use the email link I've set up.. Please help! Web Page http://www.classic-corvettes-ky.com/Contact.htm does not send eMail as intended. Does anyone know how I can resolve this? Okay so recently I updated my website so the URL for my home page is now: http://www.benellett.com/index.php However I would either like to somehow make that page show up as just the base website: http://www.benellett.com/ or have the benellett.com page forward to the /index.php page. Preferably I want benellett.com/index.php to be the "home" page like it would be if it were index.html (like my old website in the link). Thanks a lot! Hi All-- I wanted to code HTML email newsletter. Can any1 help me out? Thnx in advance... Hi there, I'm completely new to HTML and have no idea, coming from using Serif WebPlus, a pumped up Publisher some may say! Now, i downloaded a booking form (http://css-tricks.com/downloads/ scroll down till you see 'Step-by-Step Seminar Registration') It really is great, but i want to be able to get it to send the info collected to an email, how is this done? Can a newb achieve this?? I could use some help with this. I'm trying to make a basic poll. What I want is that after the user votes, it shows the results for about 2-3 seconds and then forwards them to one of my advertiser's pages in a new window. Because of the 2nd part, I haven't been able to use any of the available WP plugins since they store all the results on their servers. What's the right way to do this? Hi Guys, I was on my site when I decided to add a forward slash at the end of my index page and all the css dissapeared. Does anyone know why this happens and how one can resolve it ? Hi All, I am writing with a question. When you leave a website from a link and then hit the back button to revisit the original webpage how do you get the original webpage to not reload? THe original webpage should not refresh unless you hit the refresh button... I thought by default it would not. Does this make sense?? Any ideas? Hi there, I'm coding a html website with two frames (one top, one bottom). From the homepage, when the user clicks a link, both the top and the frame the link's in change. when my user is on that new page and click the back button in the toolbar, only the top frame (title) changes, but not the bottom one. So, for the 2nd page, I need a way to make the toolbar's back button move the viewer two steps instead of one. Is that possible? thank you, RandomNameHTML YAY SOLVED THANKS TO COOTHEAD This thing is driving me nuts... over the last 36 hours i, along with a helpfull member of this community have been trying to fix some SIMPLE code that wasnt broken in the first place. It displays fine, when tested in Dreamweaver, tests fine in IE, FF. The several adjusted codes even display fine inside the test previewer of the mail program on www.yourmailinglistprovider.com ! The trouble starts when the email HTML code gets sent to the Gmail & Hotmail inbox. Both my inbox' are stuffed with test mails.. and it isnt going to end any time soon I have CODE 2 that wont load up the CSS image tags. And CODE 1 that wont display the text in its right position, not on top of the image, instead it shows it way down, like so: http://img196.imageshack.us/img196/2625/frustration.jpg So finally... i discovered, why.. the Gods have put me in this misfortune. Google Mail is in BETA, and that means the following: Quote: Google Mail, LotusNotes, and Outlook 2007 present special coding problems. The good news? If you code to account for their oddities, your html email code is more likely to display well in most if not all email software. Because Google cannot control how senders will code CSS and HTML, they have to take steps to ensure their application displays properly regardless of the code quality of the html email that is displayed. As a result, Google Mail acts like an artifact of the mid 1990s when web standards were primitive. It takes some work, but it is possible to crack open a Google Mail page and see just how convoluted their approach is to rendering html email. For one thing, Google Mail deletes any CSS style reference to a set of styles, no matter where it appears in the email. And fonts displayed in html tables have the odd habit of appearing larger than intended no matter how the html email is coded. &#^&%$@3(*(2@#*&y#!!............................. Why Now all my work ive put into this could be all for nothing,.. since I believe the solution given by the website is too far fetched for this amateur. The solution: Quote: Here are coding techniques that appear to work well in Google Mail and older email softwa * Define the background color in a TD cell with bgcolor=, not the CSS style. * Use the background= attribute in the TD cell for background images, not the CSS. A corollary is that the background image can be made as tall as needed. If the content of an email template might be short or tall depending on the email content, using an extra-tall background image this way lets the email layout height shrink or expand based on the height of the copy from one email to the next. Note, however, that Outlook 2007 ignores background images. * If it works better, use the padding style to control margins within a TD cell. The margin style does not work in these cells. Padding does work. * If a border around a TD cell is needed, Google Mail displays a border when defined in a DIV but not when defined as a border style in a TD tag. * If a light colored link against a dark background color is needed, put the font definition in the TD cell (so it applies to P and A tags equally) then add a color= style to the A tag. * If the P and A fonts appear to be different sizes, wrap the A tag in a P tag. * Google Mail aggressively uses the right column of their interface which squeezes the html email into the center panel. Be sure the padding style in the content TDs is set at 10 pixels all round so text does not smash against the left and right edges. * When testing an html email with a Google Mail account, it is likely one or more missing font styles in the TD, H1, H2, P, A, and other tags will be found. Inspect every font carefully to make sure Google Mail displays the fonts correctly. SOURCE I need either of these two amateuristic codes (they are basically the same) re-coded with the rules up above. Could anyone who can do this fluently without breaking a sweat help me out? I am near desperation and willing to transfer a fee to whatever paypal account. I just need this mail template sent out asap. Thank you for reading. CODE 1: HTML Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html lang="en"> <head> <base href="http://xx.com/"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="language" content="english"> <meta http-equiv="Content-Style-Type" content="text/css"> <title></title> <style type="text/css"> #container{ width:711px; margin:auto; font-family:verdana,sans serif; font-size:16px; background-image:url(blokje.png); } #pic { display:block; } #content { padding:0 0 60px 50px; background-image:url(onderkantcurve.png); background-repeat:no-repeat; background-position:0 bottom; } #p-one { font-weight:bold; color:#410d3e; } #pic-one { text-align:center; } #pic-one img { width:170px; height:190px; } #link { font-size:12px; } </style> </head> <body> <p align="center"><font face="Verdana, Geneva, sans-serif" size="2"><a href="http://xx.com/template3.html">Klik hier voor de web-versie mocht de nieuwsbrief niet goed worden weergegeven.</a></font></p> <div id="container"> <img id="pic" src="top.png" alt=""> <div id="content"> <p id="p-one"> Nieuwsbrief februari 2010 </p><p><br> Beste Lezer van mijn eerste nieuwsbrief, </p><p> Graag wil ik je opmerkzaam maken op de nieuwste activiteiten van <br> Sessio Communications. </p><br> <p id="pic-one"> <img src="koord.jpg" alt=""><br> <a href="http://www.xx.com">www.xx.com</a> </p><p> <br> Ik nodig je van harte uit om <a href="http://www.xx.com">mijn website</a> te bezoeken.<br> Reacties zijn welkom. Doorsturen naar andere belangstellenden mag. <br> <a href="[FORWARDTOFRIEND]">Stuur deze email door naar een vriend of vriendin.</a></p> </p><p> Mocht je geen belangstelling hebben om op de hoogte te blijven van<br> mijn verschillende workshops en trainingen dan kun je dat via de <br> link onderaan de pagina aangeven. Je e-mail adres wordt dan verwijderd. </p><p><br> Met vriendelijke groet, </p> </p> </div> </div> <p align="center"><font face="Verdana, Geneva, sans-serif" size="2"><a href="http://ymlp154.com/u.php?YMLPID=gejseubgsguejeg"> Uitschrijven / Gegevens wijzigen </a></font></p> </body> </html> CODE 2: HTML Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html lang="en"> <head> <base href="http://xx.com/"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="language" content="english"> <meta http-equiv="Content-Style-Type" content="text/css"> <title></title> <style type="text/css"> #container{ position:relative; width:711px; height:910px; margin:auto; font-family:verdana,sans serif; font-size:16px; } #pic { position:absolute; top:0; left:0; } #content { position:absolute; top:170px; left:50px; width:651px; height:680px; } #p-one { font-weight:bold; color:#410d3e; } #pic-one { text-align:center; } #pic-one img { width:170px; height:190px; } #link { font-size:12px; } </style> </head> <body> <p align="center"><font face="Verdana, Geneva, sans-serif" size="2"><a href="http://xx.com/template3.html">Klik hier voor de web-versie mocht de nieuwsbrief niet goed worden weergegeven.</a></font></p> <div id="container"> <img id="pic" src="big.png" alt=""> <div id="content"> <p id="p-one"> Nieuwsbrief Februari 2010 </p><p><br> Beste Lezer van mijn eerste nieuwsbrief, </p><p> Graag wil ik je opmerkzaam maken op de nieuwste activiteiten van <br> Sessio Communications. </p> <p id="pic-one"> <img src="koord.jpg" alt=""><br> <a href="http://www.xx.com">www.xx.com</a> </p><p> <br> Ik nodig je van harte uit om <a href="http://www.xx.com">mijn website</a> te bezoeken.<br> Reacties zijn welkom. Doorsturen naar andere belangstellenden mag. <br> <a href="[FORWARDTOFRIEND]">Stuur deze email door naar een vriend of vriendin.</a></p> </p><p> Mocht je geen belangstelling hebben om op de hoogte te blijven van<br> mijn verschillende workshops en trainingen dan kun je dat via de <br> link onderaan de pagina aangeven. Je e-mail adres wordt dan verwijderd. </p><p><br> Met vriendelijke groet, </p> </div> </div> <p align="center"><font face="Verdana, Geneva, sans-serif" size="2"><a href="http://ymlp154.com/u.php?YMLPID=gejseubgsguejeg"> Uitschrijven / Gegevens wijzigen </a></font></p> </body> </html> Thanks for reading.. I have very limited knowledge of any programming. I own a site and would like to host a 2nd private website where users can email to. The catch is that they when I hand out the email as xxxxxxx@mysite.com (xxxxxxxxx being anything,) I can trace back to anyone who sends me spam. This is similar to spamgourmet.com ,infact it is pretty much the same thing. The only problem I find with spamgourmet is that emails are processed EXTREMELY slowly. Can anybody help me? I'm looking for code that would let me do what I said up there or some kind of script or where I should host the site. Thanks I've created a form and need help getting it to actually work. Here is what I have done so far... http://www.kibit.co.uk/form.html Thanks in advance to anyone who offers help. Hey, I'm looking for a way to get a form to send an email to one or more recipients when someone hits the Submit button. I've seen the mailto angle, but I'm looking for the form to do the work itself, and don't want the mail app launched on the user's machine. Is this something I'd have to play with servlets and the like for, or is there some way to do it with javascript, html, whatever? Ok So I was a little premature in adding to my previous post the the form was now working in IE. I've written 2 forms, the first was a very basic general feedback form, asking the user to rate the site as Excellent, Good or Poor, together with a comments field. This is a relaunch of a site than ran into a little disuse and became out of date. (Once the site is live I'll think about adding the details into a topic on this site for you all to see.) The second was as my first post (form redirect) listed. Both were using the method="post" but I'd read that you didn't need this if you were using 'mailto' tag so I removed it. Now it adds the email recipients but removes the email subject and doesn't add the responses into the body of the email. Further reading indicated that for very basic forms the method="get" is better so I changed it. This stopped it working in Chrome. Can't win! Leaving the method out.............still no joy. Hey ho. Will probably get the site host to use Perl (or whatever other they use for other sites they have developed). Benefits? No more headaches for me. Less chance of spammers. Hopefully better security and more likelihood of people using the form as they wouidn't need to give their email address if they didn't want to. And, hopefully, some chance of being able to filter out those inapproriate responses some people like to submit with these forms. |