I have a form with submit button ,on click it should copy all the email addresses
available in the mailto: to the clipboard and open the default email client ,in my case
it is LOTUS notes.As i have many email addresses the lotus notes does not allow more than
250 characters ,so thats the reason im copying the email addresses to clip board and i
will manually paste it in the Lotus notes once the event is performed.
Below is the code i performed,i need to copy the email address and then fire the mailto
which opens the default email client(Lotus Notes).
<script>
function send(object,where)
{
if (navigator.appName.indexOf('Netscape') > -1)
{
object.encoding = 'text/plain';
object.action = where;
object.method = 'POST';
}
}
//--></SCRIPT>
<FORM ACTION="" METHOD=""> <INPUT TYPE="SUBMIT" value ="sendemail"
onClick="send(this.form,'mailto:abc1@dot.com,abc2@dot.com')">
</FORM>