Send E-Mail From Client Machine To Another

******************** REMOVE ALL [] WITH <> REPECTIVELY************************

[%@ Page Language="C#" AutoEventWireup="true" CodeFile="Emailfunction-client-server.aspx.cs" Inherits="mailclient" ValidateRequest="false" %]

[!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ""]

[html xmlns=""]
[head runat="server"]
[title]Send E-Mail[/title]

[script type="text/javascript"]

function emailto(ob)
var mail;
mail= document.getElementById("FreeTextBox1").value;
ob.href =' » &subject=Test? » &body=[html]'+mail+'[/html]? »';

[form id="form1" runat="server"]
[a onclick="emailto(this);" href="">Send Mail AnandInternationals[/a][/p]
[a href="" subject="Test?" body="[html"]Viplav Anand [p] [b]Pathak[/b] csesupport [/p][/html]? »"]Send Mail[/a]
[asp:textbox id="FreeTextBox1" runat="server"]
[asp:button id="Button1" runat="server" text="Send Mail- Server" onclick="Button1_Click"]
[p][a onclick="emailto(this);" href=""]Send Mail AnandInternationals[/a]


The software just created would be capable to send HTML enabled or Formatted Texts as Email using mailto option :

Code your e-mail functionality provider interface with this script and watch out for the results.

Post a Comment


Close Menu