<%@ Page Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">

    protected void PasswordRecovery1_EnviarEmail(object sender, MailMessageEventArgs e)
    {
        e.Message.SubjectEncoding = Encoding.UTF8;
        e.Message.BodyEncoding = Encoding.UTF8;
    }

</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:PasswordRecovery ID="PasswordRecovery1" runat="server" OnSendingMail="PasswordRecovery1_EnviarEmail">
            <MailDefinition From="seusite@site.com.br" IsBodyHtml="true" Subject="Senha do seu web site"
                BodyFileName="~/EmailSenha.txt">
            </MailDefinition>
        </asp:PasswordRecovery>
    </div>
    </form>
</body>
</html>
