Hi, I am trying to find any experts out there to guide me on how to insert javascript to Crystal Reports Ver 11 R2.
This is to circumvent the mailto syntax limitation when the body of the email exceeds ~940 characters (mailto syntax coupled with MS outlook will not send any longer body characters that ~940). Apparently, there is a work around this suing javascript with the below code but could not get this to work (not enough experience, I admit with javascripting),
<a href="javascript:doMailto()">Send Email</a>
<script type="text/javascript">
var sMailto = "mailto:name@name.com?subject=123456789&body=11111...111234567890";
function doMailto() {
document.location.href = sMailto;
}
</script>
Any guidance will be appreciated,
Safa
This is to circumvent the mailto syntax limitation when the body of the email exceeds ~940 characters (mailto syntax coupled with MS outlook will not send any longer body characters that ~940). Apparently, there is a work around this suing javascript with the below code but could not get this to work (not enough experience, I admit with javascripting),
<a href="javascript:doMailto()">Send Email</a>
<script type="text/javascript">
var sMailto = "mailto:name@name.com?subject=123456789&body=11111...111234567890";
function doMailto() {
document.location.href = sMailto;
}
</script>
Any guidance will be appreciated,
Safa