I am trying to get a mailto link working, but I'm having issues with lotus notes.
My link: <a href="mailto:?subject=mySubject&body=myBody">Link</a>
What happens is that the following appears in the subject of the email: mySubject&body=myBody
It doesn't seem to recognize the &body=
Any ideas?
Thanks, Chris
I have universally solved the issue.
The actual reason things were getting messed up is that in the body of my email I had a link. It contained a query string (for example: http://www.aaa.com/index.php?date=xxx&value=yyy)
This & in the link caused the issue!!! It seems that lotus notes explodes/splits the mailto string differently than outlook, and this extra ampersand was not understood.
The solution was to encode the query string so there were no &'s appearing in the body!!!
e.g. <a href="mailto:?subject=mySubject&body=myBody%0A%0Ahttp://www.aaa.com/index.php?SxgftrTr65bfi">Link</a>
This works in both lotus and outlook!
NOTE: SxgftrTr65bfi would be decoded on the server side!
-Chris