Snap Mail Referral Link - An easy way for visitors to refer friends to your website.
Compatible Browsers:
Chrome BrowserFirefox BrowserInternet Explorer BrowserOpera BrowserSafari Browser
Example: View Code Demo
<html> <head> <title>Snap Mail Referral Link Javascript Code Snippet</title> <style> BODY {font-family:verdana,arial,ms sans serif; font-size:90%;} </style> </head> <body> <p>This script works similar to a tell-a-friend script... The script opens the end users mail program or GMAIL (and others) account if the end user is already logged in.</p> <p>The script enters a Subject line paragraph, prints the webpage TITLE and captures the webpage URL Address in the Message Body area.</p> <p>Form Button Code</p> <script> <!-- // Begin Snap Mail Referral Link // == This Script Free To Use Providing This Notice Remains == // // == This Script Has Been Found In The https://snapbuilder.com Free Public Codes Library == // // == NOTICE: Though This Material May Have Been In A Public Depository, Certain Author Copyright Restrictions May Apply == // --> function SnapMailLink(){window.location = "mailto:"+"?subject=I thought this link might interest you." + "&body="+document.title+" "+window.location;} document.write('<input class="select" type="button" value="E-mail this link to a friend" onClick="SnapMailLink();"></form>') </script> <p>or use a Text Link Code</p> <script> <!-- // Begin Snap Mail Referral Link // == This Script Free To Use Providing This Notice Remains == // // == This Script Has Been Found In The https://www.SnapBuilder.com Free Public Codes Library == // // == NOTICE: Though This Material May Have Been In A Public Depository, Certain Author Copyright Restrictions May Apply == // --> function SnapMailLink(){window.location = "mailto:"+"?subject=I thought this link might interest you." + "&body="+document.title+" "+window.location;} document.write('<a href="#" onClick="SnapMailLink();">E-mail this link to a friend</a></form>') </script> <br /><br /> <p>Adjust the Subject Message to suit your needs.</p> </body> </html>