Hi, My problem is after I transferred my website to a new server they don't allow outgoing mail from there server. I found a neat javascript that I will be using to reccommend my site but I would still like to have the option to have my visitors send reccommendations on my links. Here is the script that I will be using
<script language="Javascript">
<!--
// please keep these lines on when you copy the source
// made by: Nicolas - http://www.javascript-page.com
var YourSubject = "Check out this Site - http://metasearchat.com";
var theE, theB, newB;
function changeLoc() {
theE = document.MailForm.toemail.value;
newB = "\n" + document.MailForm.thebody.value;
theB = document.MailForm.Message.value;
if (document.RealForm.Message.value.indexOf(newB) == -1)
document.RealForm.Message.value = newB + theB;
else if (document.RealForm.Message.value.indexOf(theB) == -1)
document.RealForm.Message.value = theB;
document.RealForm.action = "mailto:"+theE+"?subject="+YourSubject;
}
//-->
</script>
<br>
<form name="MailForm" method="get" action=" ">
<b>To: </b> <input type="text" name="toemail" size=30>
<br>
<B>Your Message:</B> <br>
<textarea name="thebody" cols="60" rows="6"></textarea>
<input type="hidden" name="Message" value="
Tired of searching just one search engine? Get The Results You Need Now at MetaSearchAt!
Just check out the URL below:
http://metasearchat.com">
<br>
</form>
<form name="RealForm" method="post" action=" " ENCTYPE="text/plain">
<input type="submit" value="Recommend Page" onmousedown="changeLoc();">
<input type="hidden" name="Message">
</form>
MetaSearchAt! and SearchAt! Directory
http://metasearchat.com
Code:
<script language="Javascript">
<!--
// please keep these lines on when you copy the source
// made by: Nicolas - http://www.javascript-page.com
var YourSubject = "Check out this Site - http://metasearchat.com";
var theE, theB, newB;
function changeLoc() {
theE = document.MailForm.toemail.value;
newB = "\n" + document.MailForm.thebody.value;
theB = document.MailForm.Message.value;
if (document.RealForm.Message.value.indexOf(newB) == -1)
document.RealForm.Message.value = newB + theB;
else if (document.RealForm.Message.value.indexOf(theB) == -1)
document.RealForm.Message.value = theB;
document.RealForm.action = "mailto:"+theE+"?subject="+YourSubject;
}
//-->
</script>
<br>
<form name="MailForm" method="get" action=" ">
<b>To: </b> <input type="text" name="toemail" size=30>
<br>
<B>Your Message:</B> <br>
<textarea name="thebody" cols="60" rows="6"></textarea>
<input type="hidden" name="Message" value="
Tired of searching just one search engine? Get The Results You Need Now at MetaSearchAt!
Just check out the URL below:
http://metasearchat.com">
<br>
</form>
<form name="RealForm" method="post" action=" " ENCTYPE="text/plain">
<input type="submit" value="Recommend Page" onmousedown="changeLoc();">
<input type="hidden" name="Message">
</form>
MetaSearchAt! and SearchAt! Directory
http://metasearchat.com