title: Sitecore Web Forms for Marketers - use current URL within email body
body: <p>I am trying to build a 'Tell a Friend' form for my Sitecore site using Sitecore's Web Forms for Marketers module and would like to include the URL of the current page within the body of the email.  I have set the save action of my form to 'Send Email Message' and was wondering if it would be possible to use some variable to represent the URL of the current page, but can't figure out how to do it.  </p>
  
  <p>I noticed that if you link to a page when editing the HTML editor for the email template, the source looks something like this:</p>
  
  <pre><code>&lt;a href="~/link.aspx?_id=6EC4BE56AEE740E99E09EECB20F97EC4&amp;amp;_z=z"&gt;Name of page&lt;/a&gt;
  </code></pre>
  
  <p>...so perhaps it is possible to use some similar syntax to get the current context page?</p>
  
  <p>I have also tried setting the save action of my form to 'Tell a Friend' but I can't see how to  make this include any email content at all, let alone how to make the email include a link to the current page.</p>
  
  <p>For reference I am using Sitecore 6.5.</p>