FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


[ java scripts ] email service





JANKOW
Write to me

Code:
<FORM>
<INPUT TYPE="button" VALUE="Write to me"  onClick="parent.location.href='mailto:yourname.yourmeil@youradress.com'">
</FORM>


Post office from CC: and subject
Code:

<!-- This script is featured at JavaScript Planet at
     http://www.js-planet.com/  Check out
     JavaScript Planet for more scripts, links, etc.
     Please leave this comment intact. -->
<FORM>
<INPUT TYPE="button" VALUE="YOUR TEXT"
onClick="parent.location='mailto:your@firm.com?subject=Topic&cc=smith@firm.com'">
</FORM>


Post address book with descriptions

Code:
<!-- This script came from the public archives of JavaScript Planet at http://www.js-planet.com -->
<!-- For more scripts, tutorials, links, discussion forums, help, or anything else JavaScript, -->
<!-- Please visit JavaScript Planet at http://www.js-planet.com. Please keep this header intact. -->

<script language="javascript">

function displayinfo(){
        var who=document.emails.list.options[document.emails.list.selectedIndex].value;
        var address=document.emails.address;
        var info=document.emails.information;
        var ss="@yourdomain.com";
if (who=="nameoflist"){
                address.value="";
                info.value="";}

if (who=="webmaster"){
                address.value="webmaster"+ss;
                info.value="Send email with problems and questions about this web site to this address.";}
if (who=="bteditor"){
                address.value="barrington"+ss;
                info.value="Send email about the editorial content of the Barrington Times to this address.";}
if (who=="bpeditor"){
                address.value="bristol"+ss;
                info.value="Send email about the editorial content of the Bristol Phoenix to this address.";}
}

</script>
<FORM name="emails">
<br>
<p><B>Book</B></p>
<BR>
<SELECT NAME="list" onChange="displayinfo()">
<OPTION value="nameoflist">adress from list
<OPTION value="webmaster">Webmaster
<OPTION value="bteditor">Barrington Times Editor
<OPTION value="bpeditor">Bristol Phoenix Editor
</SELECT>
<TABLE BORDER WIDTH=300 BGCOLOR="#C0C0C0">
<TR>
<TD VALIGN=TOP>
<CENTER>
<INPUT TYPE="text" NAME="address" VALUE="" SIZE=45><BR>
<TEXTAREA NAME="information" ROWS=7 COLS=27 wrap=virtual></TEXTAREA><BR>
<INPUT TYPE="button" NAME="sendit" VALUE="Klik to send" onClick="parent.location='mailto:'+document.emails.address.value">
</CENTER>
</TD>
</TR>
</TABLE>
</FORM>


Post office with verification of address

Code:
<SCRIPT LANGUAGE="JavaScript">

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
function emailCheck() {
txt=document.isn.email.value;
if (txt.indexOf("@")<3){
alert("Sorry! This address is probably incorrect. Plis,"
+" check before sign prefix  '@'.");
}
if ((txt.indexOf(".com")<5)&&(txt.indexOf(".org")<5)
&&(txt.indexOf(".gov")<5)&&(txt.indexOf(".net")<5)
&&(txt.indexOf(".mil")<5)&&(txt.indexOf(".edu")<5)&&(txt.indexOf(".pl")<5)){
alert("Sorry! This address is probably incorrect .\nPlis,"
+" check sufiks. (he should contain  "
+".com, .edu, .net, .org, .gov, .mil )");
   }
}
// End -->
</SCRIPT>

IN  BODY

<FORM NAME="isn">
<INPUT TYPE="text" NAME="email" SIZE=40 VALUE=""><BR><br>
<INPUT TYPE="button" NAME="email1" VALUE=" Submit " onClick="emailCheck()">
</FORM>
Related topics
[java scripts ] Multimedia
[java scripts] System information
[java scripts] Text effect , img ....
BG Xmail The World's First 10GB Email Service
Free Scripts Resources
can someone give me some honest opinion about my site
Best email service provider ?
form to email service: 20 FRIH$
Where to find Java Scripts
What messenger/email service do you use
Auto Email Service
Email service
Response I get because I Don't want email service?
New email service from Microsoft
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.