Answers.Body: <p>Probably this has been fixed since this old question, but just wrapping <code>{{link}}</code> variable in <code>&lt;a&gt;</code> tag lets me send custom HTML notifications with working clickable text links.</p>
  
  <p>Screenshot of messages settings:</p>
  
  <p><a href="https://i.sstatic.net/aPsOj.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/aPsOj.png" alt="Messages settings"></a></p>
  
  <p>Screenshot of custom HTML email received:</p>
  
  <p><a href="https://i.sstatic.net/p2zbB.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/p2zbB.png" alt="Custom HTML email received"></a></p>
  
  <p>Perhaps this won't work for the text version of the email, but if needed I suggest you to use this excellent plugin which let you send custom notifications in both HTML and text versions: <a href="https://sprout.barrelstrengthdesign.com/craft-plugins/email" rel="nofollow noreferrer">Sprout Emails</a>.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-11-30T10:36:47.773Z
Answers.LastActivityDate: 2017-11-30T10:36:47.773Z
Answers.UserDisplayName: Romain P.
Body: <p>Whether I use an HTML email template or not, there are a few problems with the activation email link that appears as follows:</p>
  
  <p><a href="http://localhost.dev/actions/users/verifyemail?code=lzxmSVbLE~scHE5KPuL7Rk2oZqJbafyD&amp;id=c3b6d053-2d69-43a8-9b1a-3210df88993c" rel="nofollow">http://localhost.dev/actions/users/verifyemail?code=lzxmSVbLE~scHE5KPuL7Rk2oZqJbafyD&amp;id=c3b6d053-2d69-43a8-9b1a-3210df88993c</a></p>
  
  <ol>
  <li><p>Links output as URLs in emails unfortunately tend to trigger spam filters. It's best practice to ensure that you're always wrapping links around real text, not the same URL, linked.</p></li>
  <li><p>More importantly, that link consistently breaks on the <code>/verifyemail...</code> portion (I'm viewing it in the Fastmail web client) and is not clickable. This occurs with the basic notification formatting, and within my HTML email template.</p></li>
  </ol>
  
  <p>I tried wrapping the link in HTML markup under Email Settings -> Messages, and included <code>autoescape false</code> in my HTML email template (around <code>{{body}}</code>), but I get escaped HTML in the email. (I'm assuming that's because you're using the same message text for multipart HTML &amp; text emails.)</p>
  
  <p>My question is: Is there any way available presently to apply the activation link to linked text rather than outputting it directly in the email?</p>
  
  <p>(This is a subscription site allowing users to self-register, so a non-clickable link in an email is one more hurdle I'd like to avoid.)</p>
  
  <p>Thanks!</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-11-09T19:11:58.600Z
Comments.Text: Mark, did you ever find a solution for this? I'm running into a similar issue.
Comments.UserDisplayName: John O
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-11-10T13:53:07.467Z
Comments.Text: Hi, John! I've heard nothing on this front. I have not looked at the 2.5 beta yet either to see if there are any changes there.
Comments.UserDisplayName: Mark J. Reeves
Tags: <templating><emails><activation>
Title: Applying the activation link to linked text in the notification email
ThreadText: # Applying the activation link to linked text in the notification email
  
  (Asked by: username_0 on 2015-10-09)
  
  Whether I use an HTML email template or not, there are a few problems with the activation email link that appears as follows:
  
  <http://localhost.dev/actions/users/verifyemail?code=lzxmSVbLE~scHE5KPuL7Rk2oZqJbafyD&id=c3b6d053-2d69-43a8-9b1a-3210df88993c>
  
  1. Links output as URLs in emails unfortunately tend to trigger spam filters. It's best practice to ensure that you're always wrapping links around real text, not the same URL, linked.
  2. More importantly, that link consistently breaks on the `/verifyemail...` portion (I'm viewing it in the Fastmail web client) and is not clickable. This occurs with the basic notification formatting, and within my HTML email template.
  
  I tried wrapping the link in HTML markup under Email Settings -> Messages, and included `autoescape false` in my HTML email template (around `{{body}}`), but I get escaped HTML in the email. (I'm assuming that's because you're using the same message text for multipart HTML & text emails.)
  
  My question is: Is there any way available presently to apply the activation link to linked text rather than outputting it directly in the email?
  
  (This is a subscription site allowing users to self-register, so a non-clickable link in an email is one more hurdle I'd like to avoid.)
  
  Thanks!
  
  **Tags:** templating, emails, activation
  
  > **Comments:**
  > **username_1**: Mark, did you ever find a solution for this? I'm running into a similar issue.  
  > **username_0**: Hi, username_1! I've heard nothing on this front. I have not looked at the 2.5 beta yet either to see if there are any changes there.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2017-11-30. Score: 2
  
  Probably this has been fixed since this old question, but just wrapping `{{link}}` variable in `<a>` tag lets me send custom HTML notifications with working clickable text links.
  
  Screenshot of messages settings:
  
  [![Messages settings](https://i.sstatic.net/aPsOj.png)](https://i.sstatic.net/aPsOj.png)
  
  Screenshot of custom HTML email received:
  
  [![Custom HTML email received](https://i.sstatic.net/p2zbB.png)](https://i.sstatic.net/p2zbB.png)
  
  Perhaps this won't work for the text version of the email, but if needed I suggest you to use this excellent plugin which let you send custom notifications in both HTML and text versions: [Sprout Emails](https://sprout.barrelstrengthdesign.com/craft-plugins/email).
  
  
  ---
  
  