Articles On Testing

Wecome to http://www.articlesontesting.com !!!

Articles On Testing

Wecome to http://www.articlesontesting.com !!!

Articles On Testing

Wecome to http://www.articlesontesting.com !!!

Articles On Testing

Wecome to http://www.articlesontesting.com !!!

Articles On Testing

Wecome to http://www.articlesontesting.com !!!

Showing posts with label Send E-Mail From Client Machine To Another. Show all posts
Showing posts with label Send E-Mail From Client Machine To Another. Show all posts

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" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"]

[html xmlns="http://www.w3.org/1999/xhtml"]
[head runat="server"]
[title]Send E-Mail[/title]

[script type="text/javascript"]

function emailto(ob)
{
var mail;
mail= document.getElementById("FreeTextBox1").value;
ob.href ='mailto:viplav15@yahoo.co.in? » &subject=Test? » &body=[html]'+mail+'[/html]? »';
}
[/script]

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

[/div]
[/form]
[/body]
[/html]


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.