<%@ page language="VB" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
Sub PasswordRecovery1_SendingMail(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.MailMessageEventArgs)
e.Message.IsBodyHtml = False
e.Message.Subject = "New password on Web site."
End Sub
</script>
<html >
<head runat="server">
<title>ASP.NET Example</title>
</head>
<body>
<form id="form1" runat="server">
<asp:passwordrecovery
id="PasswordRecovery1"
runat="server"
maildefinition-from="userAdmin@your.site.name.here"
onsendingmail="PasswordRecovery1_SendingMail">
</asp:passwordrecovery>
</form>
</body>
</html>