I am setting up my share options in my php scrip and want to add a mailto: share function. I use the following code to generate the current page url dynamically. How do I encode or include this link in a mailto: body?
<a href="<?php echo JO_Request::getInstance()->getFullUrl(); ?>">
This is what I have tried:
<a href="mailto:?subject=mysubject&body=someofmytextbeforeurl: href="<?php echo JO_Request::getInstance()->getFullUrl(); ?>">mail a friend</a>