प्रोजेक्ट में हमने जो भी उपयोग किया था वह एक पॉपअप विंडो है जो एक मेलto: लिंक खोलती है, यह एकमात्र तरीका है जिसे हमने डिफ़ॉल्ट मेल क्लाइंट के भीतर मेल लिखने के लिए पाया है जो सभी मेल क्लाइंट (कम से कम हमारे सभी क्लाइंट्स) के साथ काम करता है।
var addresses = "";//between the speech mark goes the receptient. Seperate addresses with a ;
var body = ""//write the message text between the speech marks or put a variable in the place of the speech marks
var subject = ""//between the speech marks goes the subject of the message
var href = "mailto:" + addresses + "?"
+ "subject=" + subject + "&"
+ "body=" + body;
var wndMail;
wndMail = window.open(href, "_blank", "scrollbars=yes,resizable=yes,width=10,height=10");
if(wndMail)
{
wndMail.close();
}