کد امکان ارسال ایمیل
<!-- Start <br>of E-Mail Form Java--> <br><!-- DEION: This will send you an e-mail with whatever your <br>visitor enters in the fields. INSTRUCTIONS: Place this entire <br>where you want the form to show up on the page. You can change the <br>values (Name, E-mail, Phone, etc.) Just be sure to change that fields <br>value in the . See where is says, "document.ccform.name.value", <br>that is for the input field "name". BE SURE TO CHANGE THE E-MAIL <br>ADDRESS BELOW. Currently it"s at "you@yourprovider.com". FUNCTIONALITY: <br>Works in both Netscape and IE. ONLY WORKS IF THE VISITOR HAS THEIR <br>E-MAIL SET UP ON THEIR BROWSER. --> <br>< LANGUAGE=Java> <br>//Modified by CoffeeCup Software //This code is Copyright (c) 1998 <br>CoffeeCup Software //All rights reserved. License is granted to a <br>single user to //reuse this code on a personal or business Web Site. <br><!-- if (navigator.appVersion.lastIndexOf("Win") != -1) { dropline = <br>"\r\n" } else { dropline = "\n" } <br>function coffeemsg(form) { <br>document.ccform.Message.value = ( " " + dropline + dropline + <br>"-----CoffeeCup AutoMated E-Mail Form---START----- " + dropline + <br>dropline + dropline + "Name : " + document.ccform.name.value + dropline <br>+ "Phone : " + document.ccform.phone.value + dropline + "Subject : " + <br>document.ccform.subject.value + dropline + "E-mail : " + <br>document.ccform.email.value + dropline + "Message: " + <br>document.ccform.message.value + dropline + dropline + "-----CoffeeCup <br>AutoMated E-Mail Form----END------ " + dropline + dropline + "E-Mail <br>Form Java by:" + dropline + "http://www.msaeed.250free.com" + <br>dropline + dropline + dropline + " FIELD VALUES: " + dropline + " " + <br>dropline <br>); <br>} <br>// --> <br></> <br><FORM name="ccform" method="post" <br>action="http://www.msaeed.250free.com/you@yourprovider.com" <br>enctype="text/plain"> <br><INPUT type=hidden name="Message"> <br><FONT FACE="VERDANA, <br>ARIAL"><B>Name:</B></FONT><P> <br><INPUT type="text" size=25 name="name" onChange="coffeemsg()"> <br><P> <br><FONT FACE="VERDANA, ARIAL"><B>Phone:</B><P> <br><INPUT type="text" size=25 name="phone" onChange="coffeemsg()"> <br><P> <br><FONT FACE="VERDANA, <br>ARIAL"><B>Email:</B></FONT><P> <br><INPUT type="text" size=25 name="email" onChange="coffeemsg()"> <br><P> <br><FONT FACE="VERDANA, <br>ARIAL"><B>Subject:</B></FONT><P> <br><INPUT type="text" size=25 name="subject" onChange="coffeemsg()"> <br><P> <br><FONT FACE="VERDANA, <br>ARIAL"><B>Message:</B></FONT><P> <br><TEXTAREA rows=5 cols=45 wrap="auto" name=message <br>onChange="coffeemsg()">