String is not replaced in CreateUserWizard Registration Email
<p>My website allows users to create accounts. </p>

<p>Upon creating, an email verification with a URL will be send to the user's email. </p>

<p>Problem: The sending of email worked but unfortunately the verification URL did not appear.</p>

<p>And for </p>

<pre><code>&lt;a href="&lt;%VerifyUrl%&gt;"&lt;%verifyUrl%&gt;&lt;/a&gt;&lt;/p&gt; 
</code></pre>

<p>there is a green curly line beneath "&lt;%VerifyUrl%>", stating that this file could not be found. </p>

<p>This is the source code of Login.aspx : </p>

<pre><code>protected void CreateUserWizard1_SendingMail(object sender,MailMessageEventArgs e)
{
    MembershipUser userInfo = Membership.GetUser(CreateUserWizard1.UserName);

    //Construct the verification URL
    string verifyUrl = Request.Url.GetLeftPart(UriPartial.Authority) + Page.ResolveUrl("~/Verify.aspx?ID=" + userInfo.ProviderUserKey.ToString());

   // Replace &lt;%VerifyUrl%&gt; placeholder with verifyUrl value
    e.Message.Body = e.Message.Body.Replace("VerifyUrl", verifyUrl.ToString());
}
</code></pre>

<p>This is the html file that what user would see in their email: </p>

<pre><code>&lt;h2&gt; Welcome to My Website!&lt;/h2&gt;
&lt;p&gt;
    Hello, &lt;%UserName%&gt;. You are receiving this email because you recently created a new account at my 
    site. Before you can login, however, you need to first visit the following link:&lt;/p&gt;
&lt;p&gt;
    &lt;a href="&lt;%VerifyUrl%&gt;"&gt;&lt;%verifyUrl%&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;
    After visiting the above link you can log into the site!&lt;/p&gt;
&lt;p&gt;
    If you have any problems verifying your account, please reply to this email to 
    get assistance.&lt;/p&gt;
&lt;p&gt;
    Thanks!&lt;/p&gt;
</code></pre>
