Hi
We want to insert a mailto link on a Confuence template. When you have created the page and click on the link, it should open a mail.
The mail should be pre-populated with the recipient's address and the body should also contain the link to the page created (this is the page on which the link is located).
And that without colleagues having to edit the link first.
mailto:max.mustermann@mail.com&body= ????????
Ideally, the solution is an HTML link or a user macro. because we do not have the HTML macro active.
Best Regards
Jochen
Confluence Server
I found this solution to get the URL in a User Macro
$action.getGlobalSettings().getBaseUrl()$content.getUrlPath()
and this for a User Macro with the Title of a page in a User Macro
## @param Name:title=unused|type=string|desc=unused|hidden=true
<a href="mailto:no-one@snai1mai1.com?subject=$content.getTitle()">Contact Us</a>
but I don't know how to put it together in a macro.