noopara
01-08-2015, 08:46 PM
1) Script Title:Email Riddler
2) Script URL (on DD):
3) Describe problem: It's not sending the email
I have been using the old version on a site for years without a problem. This is the first time I have tried using the new version. The old version uses a statement like this:
document.write("<input type=\"hidden\" name=\"recipient\" value=\"" + postemail6485 + "\">");
This new version does not. I don't quite understand how this new version can work. Perhaps there is a typo somewhere??
The old version was embeded in a shtml page as is this new one.
Here's is what I have now which is not sending the email. Thanks for the help.
<script type="text/javascript">
/*<![CDATA[*/
/***********************************************
* Encrypt Email script- Please keep notice intact
* Tool URL: http://www.dynamicdrive.com/emailriddler/
* **********************************************/
<!-- Encrypted version of: admin [at] ********.*** //-->
var emailriddlerarray=[bunch of numbers]
var encryptedemail_id66='' //variable to contain encrypted email
for (var i=0; i<emailriddlerarray.length; i++)
encryptedemail_id66+=String.fromCharCode(emailriddlerarray[i])
//--- VARIABLE "encryptedemail_id66" NOW CONTAINS YOUR ENCRYPTED EMAIL. USE AS DESIRED. ---//
/*]]>*/
</script>
<FORM ACTION="http://formmail.dreamhost.com/cgi-bin/formmail.cgi" method="POST">
<input type="hidden" id="recipient" value="" /> <!-- this doesn't look right -->
[bunch of form stuff goes here]
</Form>
<script type="text/javascript">
document.getElementById("recipient").value=encryptedemail_id66
</script>
2) Script URL (on DD):
3) Describe problem: It's not sending the email
I have been using the old version on a site for years without a problem. This is the first time I have tried using the new version. The old version uses a statement like this:
document.write("<input type=\"hidden\" name=\"recipient\" value=\"" + postemail6485 + "\">");
This new version does not. I don't quite understand how this new version can work. Perhaps there is a typo somewhere??
The old version was embeded in a shtml page as is this new one.
Here's is what I have now which is not sending the email. Thanks for the help.
<script type="text/javascript">
/*<![CDATA[*/
/***********************************************
* Encrypt Email script- Please keep notice intact
* Tool URL: http://www.dynamicdrive.com/emailriddler/
* **********************************************/
<!-- Encrypted version of: admin [at] ********.*** //-->
var emailriddlerarray=[bunch of numbers]
var encryptedemail_id66='' //variable to contain encrypted email
for (var i=0; i<emailriddlerarray.length; i++)
encryptedemail_id66+=String.fromCharCode(emailriddlerarray[i])
//--- VARIABLE "encryptedemail_id66" NOW CONTAINS YOUR ENCRYPTED EMAIL. USE AS DESIRED. ---//
/*]]>*/
</script>
<FORM ACTION="http://formmail.dreamhost.com/cgi-bin/formmail.cgi" method="POST">
<input type="hidden" id="recipient" value="" /> <!-- this doesn't look right -->
[bunch of form stuff goes here]
</Form>
<script type="text/javascript">
document.getElementById("recipient").value=encryptedemail_id66
</script>