Score:-1

How can I use a token in a mailto link?

cn flag

I installed the Token and the Token filter modules.

I use a mailto link in the body of a block.

<a href="mailto:[email protected]?subject=The subject I want&body=Can you send me my invitelink for [site:name] please?">[email protected]</a>

The token isn't replaced by its value.

How can I use a token in that link?

Score:0
ru flag

Mark the "Replace tokens" checkbox as checked for the "Text Format" which you have chosen while creating the block. Text Format configurations can be found with this path admin/config/content/formats

cn flag
Thanks for your answer. The block containing the mailto: link was Full HTML and the replace tokens where enabled. Clicking on it opens my mail program and shows me all I want except [site:name] is not replaced.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.