I have read a few of the posts here on using mailto and am familiar with the formatting. What I'm having difficulty with is the location string itself. Here's the code:
First thing, I am using PHP as well as the Javascript so if there is a fix with PHP, I'm open to that too.
Second, the above code works fine, EXCEPT for the &ra_Key line. I know it's because the mailto sees the & as another segment of the message (link &body).
The body, in other words, only shows:
"...test2s:8181/jfe/cm_test/ra/index.phtml?ra_Issue=3"
So, how do I get the full link to show in the body? I have tried the various codes for the ampersand (&, etc.) to no avail.
Thoughts? Thanks,
DreamerZ
Code:
window.location='mailto:$ra_Mgr?subject=Open Rework Issue&body=[URL unfurl="true"]http://test2s:8181/jfe/cm_test/ra/index.phtml?ra_Issue=3&ra_Key=96';[/URL]
First thing, I am using PHP as well as the Javascript so if there is a fix with PHP, I'm open to that too.
Second, the above code works fine, EXCEPT for the &ra_Key line. I know it's because the mailto sees the & as another segment of the message (link &body).
The body, in other words, only shows:
"...test2s:8181/jfe/cm_test/ra/index.phtml?ra_Issue=3"
So, how do I get the full link to show in the body? I have tried the various codes for the ampersand (&, etc.) to no avail.
Thoughts? Thanks,
DreamerZ