HTML - E-mail
How can i get a code to automatically send an e-mail to an e-mail adress, where the content of the mail is from an inputbox, and where the mail also include the sender (from an inputbox)?
I hope you understood that Similar TutorialsHello all, I am currently building an HTML newsletter complete with graphics and it is all set up and appears fine in my IE and other web browsers. However, now I want to actually place this HTML and graphics in the actual e-mail form and test it. This may sound like like a stupid question, but does anyone know how to do this? For the life of me I can't think of any way to actually embed an .html file (or just the HTML coding) inside of an email and have it appear inside of say.. a Yahoo, MSN, google, or outllook express email form. I need to be able to do this to test an send my e-newsletter. I've searched the net for tutorials on how to do this but have come up empty handed. Any ideas on how to go about this? Thanks in advance! Hi All Developed a form that provides 2 mail address with the forms details what i would also like is for the e-mail address entered into the e-mail addess box to also recieve a copy how can i do that? Here is that code <FORM ACTION="/includes/scripts/mail/domailsave.pl" ONSUBMIT="return validate()" METHOD="POST" NAME="olform1"> <INPUT TYPE="hidden" NAME="nextpage" VALUE="http://virginmediahome/access/cabinet_clean_up/thanks.html"> <INPUT TYPE="hidden" NAME="emailto" VALUE="xxxxxxxxxxxx@xxxxxxxxxxxxx.co.uk"> <INPUT TYPE="hidden" NAME="emailto" VALUE="xxxxxxxxxxxxxxx@xxxxxxxxxx.co.uk"> <INPUT TYPE="hidden" NAME="subject" VALUE="Notification of Outage files & Audits"> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="4" ALIGN="center"> <TR> <TD WIDTH="400" align = "center"><B><SPAN STYLE="color: red">Your Name</SPAN></B></TD> </TR> <TR> <center> <TD WIDTH="400" align = "center"><INPUT TYPE="text" SIZE="40" NAME="Submitted_By" VALUE="" MAXLENGTH="50"></TD> </TR> </center> <TR> <TD WIDTH="400" align = "center"><B><SPAN STYLE="color: red">Your E-mail Address</SPAN></B></TD> </TR> <TR> <TD WIDTH="400"align = "center"><INPUT TYPE="text" SIZE="40" NAME="E-mail Address" VALUE="" MAXLENGTH="50"></TD> </TR> <TR> <TD WIDTH="400" align = "center"><B><SPAN STYLE="color: red">Your Contact Number</SPAN></B></TD> </TR> <TR> <TD WIDTH="400" align = "center"><INPUT TYPE="text" SIZE="40" NAME="Contact Details" VALUE="" MAXLENGTH="50"></TD> </TR></table><p><strong> <font size="3" color="red">Step 3: </strong>The Cabinet</font> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="4" ALIGN="center"> <TD WIDTH="400" align = "center"><B><SPAN STYLE="color: red">ICOMS Site ID</SPAN></B></TD> </TR> <TR> <TD WIDTH="400" align = "center"><INPUT TYPE="text" SIZE="40" NAME="ICOMS Site ID" VALUE="" MAXLENGTH="100"></TD> </TR> <TR> <TD WIDTH="400" align = "center"><B><SPAN STYLE="color: red">Housefile ID</SPAN></B></TD> </TR> <TR> <TD WIDTH="400" align = "center"><INPUT TYPE="text" SIZE="40" NAME="HouseFile ID" VALUE="" MAXLENGTH="100"></TD> </TR> <TR> <TD WIDTH="400" align = "center"><B><SPAN STYLE="color: red">Cab Number</SPAN></B></TD> </TR> <TR> <TD WIDTH="400" align = "center"><INPUT TYPE="text" SIZE="40" NAME="Cab Number" VALUE="" MAXLENGTH="100"></TD> </TR> <TD WIDTH="400" align = "center"><B><SPAN STYLE="color: red">Cab Address</SPAN></B></TD> </TR> <TR> <TD WIDTH="400" align = "center"><INPUT TYPE="text" SIZE="40" NAME="Cab Address" VALUE="" MAXLENGTH="100"></TD> </TR> </table><p><strong> <font size="3" color="red">Step 4: </strong>The Dates</font><BR> <font size="2" color="Black">Please copy these from the calculator above</font> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="4" ALIGN="center"> <TR> <TD WIDTH="400" align = "center"><B><SPAN STYLE="color: red" align = "center">CRF Date</B></TD> </TR> <TR> <TD WIDTH="400" align = "center"><INPUT TYPE="text" SIZE="40" NAME="CRF Date" VALUE="" MAXLENGTH="100"></TD> </TR> <TR> <TD WIDTH="400" align = "center"><B><SPAN STYLE="color: red" align = "center">Audit Date</B></TD> </TR> <TR> <TD WIDTH="400" align = "center"><INPUT TYPE="text" SIZE="40" NAME="Audit Date" VALUE="" MAXLENGTH="100"></TD> </TR> <BR> <TR> <td align = center><INPUT TYPE="submit" NAME="submit" VALUE="Submit"></TD> </TR> </form> Hi, i have form. www.atstovybe.lt/contact.php you can see. And then i atach file it dosn`t send. i get mail with info in the textarea but file not get. can you help me ? sorry for my english language 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..... Hi , To:<input type="text" name="To" /> Subject:<input type="text" name="Subject" /> Now should be the body ... I have a problem here ... I don't want to use <input type="text" name="body" /> becouse is ugly ... Can you tell me how to get a big field like text area , the problem with text area is when submitted it is not submited ,not working . How to make a big field compatible with submit ? hi everyone, i'm new to the community! great forum! i've got a problem with a html mail. I want it to look like that http://www.giannibaccega.com/mail2/mail i've made that layout with inline CSS and absolute positioning, but Gmail messes all up! I've read that i need to use tables, but how can i overlap the logo GIANNI BACCEGA FOTOGRAFIA to the background image (the light)?? with tables they appears one on the right and one on the left, but i need the logo to overlap a bit the background... any suggestions? thanks! Yeah I need a little help with my site.I'm trying to make a form so people can sign up their game and send it to my email so it will be displayed on my site but im not sure how to make a form.I have this php code but I'm not sure how to make it so when someone submits their details it will send it to my email. Website: HabSource.Info Email: HabSource@gmail.com Forum: http://i38.tinypic.com/112el29.png PHP forum: PHP Code: <form action="index.php" method="post" /> <table> <tr><td><b>Hotel Name:</b></td><td><input type="text" name="name" /></td></tr> <tr><td><b>Hotel Description:</b></td><td><textarea name="description"></textarea></td></tr> <tr><td><b>Hotel:</b></td><td><input name="url" type="text" value="http://" size="50" /></td></tr> <tr><td><b>Banner URL:</b></td><td><input name="banner" type="text" value="http://" size="50" /></td></tr> <tr></tr> <tr><td><input type="submit" name="submit" value="Submit Hotel" /><br /><b>Abuse be punished!</b></td></tr> </table> </form> Index.html : HTML Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Language" content="nl" /> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252" /> <meta name="description" content="HabboRegio is een zeer bekende fansite van het tienerspel HabboHotel. Die word beheert door: ::Aijt:: en Dave-bakkie" /> <meta name="keywords" content="HabboRegio, HabboAudio, HabboResource, dave-bakkie, ::Aijt::, Habbo, onofficiele, fansite, radio, topsites, nieuws, informatie, fancenter, crowley" /> <meta name="author" content="dave-bakkie, ::Aijt::" /> <meta name="copyright" content="HabboRegio.nl - 2010" /> <meta name="robots" content="index, follow" /> <meta name="googlebot" content="noodp"> <meta name="revisit-after" content="1 day" /> <meta name="rating" content="Safe for kids" /> <title>HabSource - Find A Retro</title> <link rel="stylesheet" type="text/css" href="style.css" /> <link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon" /> </head> <body> <div id="container"> <div class="group"> <div id="top"><img src="images/image.png" align="right"/>HabSource</div> <div id="mid"><br /> HabSource Template Is In Update<br /><br> </center> </div> <div id="bottom"></div> </div> <div class="group"> <div id="top">Habbo Retro Hotels</div> <div id="mid"> <body> <table><tr><td>Want To Have A Sexy Time? </td></tr></table></body> </html> </center> </div> <div id="bottom"></div> </div> <div class="group"> <div id="top">Sign Up Your Hotel:</div> <div id="mid"> <br> <iframe src ="contact.php" frameborder="0" allowtransparency="no" scrolling="No" width="100%" height="200"> <p>Your browser does not support iframes.</p> </iframe> </body> </html> </center> </div> <div id="bottom"></div> </div> </div> <div id="container_end"></div> </body> </html> Hey, I am new to this forum but i can't find an answer to this question. I have recently created an online tackle shop. And in the "contact us" part I have my e-mail and the owners e-mail. But I want to have it so you can click on it from there and open up outlook or whatever the primary e-mail they have to e-mail us. But right now it just has the address so you would have to copy and paste it can anyone help me????? There is a HTML that when you click it, it opens Microsoft Outlook to send an e-mail. But how would you be able to get it to open Hotmail or Sky? Hello! I was hoping somebody here could help me. I am quite confused. Here is what I want to do: Create an image in photoshop or a similar program, and save it as an HTML, so I can send them in an e-mail. It will be a newsletter. I know there are sites I can go to that can create them, but I want my own layout - and plus they charge for their service. All I want is a free jpg to html converter. Is this even possible? If so, can u shoot me a link? Thanks in advance! Hi there, I am currently in the process of re-designing my girlfriends dads companies website and he has requested that customers can fill in a form, and when submitted the form gets emailed to his inbox. At the moment his website opens up outlook express, when the form is submitted, using the mailto: function, but he really doesn't like this. Is there any other way of emailing from a browser without any programs popping up? I am open to suggestions on other ideas that may work here if anyone can think of anything. Thanks in advance. Tom Could someone have a look at this code and tell me why I am not receiving e-mail when I test the form? Thank you <form action="http://www.yoursite.com/your-thankyou-url.html"> does the above line need to be here? if so, can I just have it set as the main page> ex) http://www.mysite.com <input type="hidden" name="recipient" value="your-email-address@yoursite.com" /> does the above line have to look like this? cobra@testing.com@testing.com <input type="hidden" name="subject" value="The Subject of your E-mail" /> Name <br /> <input type="text" name="Name: " size="25" /> <br /> Email <br /> <input type="text" name="Email: " size="25" /> <br /> Phone Number <br /> <input type="text" name="Phone: " size="25" /> <br /> <br /> <textarea rows="15" cols="50" name="name-of-your-textarea: "></textarea> <br /> <input type="submit" name="submit" value="Send" /> <input type="hidden" name="required" value="Name: ,Email: ,Phone: " /> <input type="hidden" name="env_report" value="" /> </form> I have a maling system but it isnt work well, what do i need to config? <form id="form" action="" enctype="multipart/form-data"> <div class="row"> Skriv dit navn<br /> <input type="text" class="input" /> </div> <div class="row"> Skriv din mail<br /> <input type="text" class="input" /> </div> <div class="row"> Skriv din by<br /> <input type="text" class="input" /> </div> <div class="row1"> Skriv din meddelelse<br /> <textarea cols="1" rows="1"></textarea><br /> <div class="div"> <input type="image" src="images/clear.gif" /> <input type="image" src="images/send.gif" /><br /> </div> </div> </form> http://html.sinann.dk/index-5.html Thanks Hello I am working on a contact form an email one and it doesnt seem to be working can someone please take alook at it and let me know what i am doing wrong. Thank you. <td><form method="post" action="/frms/contactmail.pl"> <input type="hidden" name="SoupermailConf" value="/frms/contact.con"> <table width="100%" border="0" cellpadding="0" align="center" cellspacing="0"> <tr> <td><table width="100%" border="0" cellpadding="4" cellspacing="1"> <tr> <td align="Right"><b>Your Name: <span class="style1">*</span></b></td> <td width="70%"><input type="TEXT" name="Name" style="width: 90%;"> </td> </tr> <tr> <td align="Right"><b>E-mail Address: <span class="style1">*</span></b></td> <td><input type="TEXT" name="Name2" style="width: 90%;"></td> </tr> <tr> <td align="Right"><b>Company:</b></td> <td><input type="TEXT" name="Name3" style="width: 90%;"></td> </tr> <tr> <td align="Right"><b>How did you find us?</b></td> <td><input type="TEXT" name="Name4" style="width: 90%;"></td> </tr> <tr> <td align="right"><b> Questions: <span class="style1">* </span></b></td> <td> </td> </tr> <tr> <td colspan="2" align="center"><textarea name="Question" rows="8" style="width: 90%;" wrap="VIRTUAL"></textarea> </td> </tr> <tr> <td colspan="2" align="center"><input type="submit" name="Submit" value="Submit Form"> <br> </td> </tr> </table></td> </tr> </table> </form> <font face="Verdana, Arial" size="1" color="#000000"><b><font color="#FF0000">* Required</font></b></font></td> This Is what im looking for for my website. First Name: [box were you type your answere] Last Name: [box were you type your answere] Submit And when you press submit it sends the stuff they filled out to my email if someone could help me with that that would be awesome!!! Thanks for reading this have a great day. Hey, i'm really new to HTML, but my dad's amazing at it and gradually helping learn. I'm trying to get this for my blog, a way to sign up for a newsletter i'm putting together. Here's the code i've put in but when I click submit, it just says "Method Not Allowed". Thanks. Here's what i've put in: Code: <form method=post action="/cgi-bin/example.cgi"> <input type="text" size="12" maxlength="30" /> <input type="Submit" value="Submit" action="mailto:jjrsportsfan@yahoo.com" /> </form> Thanks, Jjrsportsfan Hi, We are going to open few vacancies in our website. We create a separate link to apply for each position in website. So for each position, there will be a buton APPLY NOW for example. What we need now is to create a script if possible, that when people apply depends in position, mail goes to certain subfolder in our mailbox. Basically it'll have to do the job of rules in MS Outlook. We don't want to create rules, because people usually don't write in subject line (for example) as we advise them in order rule to function properly Thank you I've created a form using FrontPage (2003) and modified Form Properties so it will send the form by an e-mail . I also enabled FrontPage extensions on the server side, however, whenever "Send" is pressed I receive "Page not found" message. Perhaps the Form Handler is not working right but I couldn't find any info related nor any related fields to change at the server part. I appreciate any help as this the final step to finalize my web site. Thanx in advance I want to make a e-mail subscribe box for my website. Could someone put together a simple HTML/PHP code that once the person enters there email address it will just add it to a text file? Then I can use an e-mail manager to extract the email adresses. I have been asked by a client of make an e-mail for their product that has email elements in it like a picture and a logo that use HTML elements pretty much a page that you open in your e-mail window. I often get discount mailers from many businesses that do this kind of thing. I know a bit about making HTML/CSS pages but I have never done an e-mail that has that look to it. Does anyone know the process I would use to assemble something like that? Thx u for the help? |