Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,361,178
Community Members
 
Community Events
168
Community Groups

How to write in 'mailto' body link to current page

Edited

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.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

Watch 4 Confluence apps compete for Best App Demo in September's Appy Hours

Calling all collaborators! Appy Hours on the Atlassian Community is a monthly event where 4 Partner and app vendor presenters go head-to-head with 5-minute demos for the title of Best App Demo. I...

582 views 0 13
Read article

Atlassian Community Events