Mail Two People with One Click

[Total: 0    Average: 0/5]

This shows how to have 2 people emailed by one click.

Body Code:

<script>
function doIt()
{
 document.location="mailto:test1@js-examples.com";
 setTimeout('document.location="mailto:test2@somesite.com";',1000);
}
function doThis()
{
 document.location="mailto:test1@somesite.com;test2@somesite.com";
}
</script>
<a href="javascript:doIt()">
click to email two people in separate emails.
</a>
<hr>
<a href="javascript:doThis()">
click to email two people in the same email
</a>

Times Viewed: 0

Leave a Reply

Your email address will not be published. Required fields are marked *