asp.net 2.0 password recovery

I'm getting the following error when I try using the control:


Server Error in '/MyTest' Application.
--------------------------------------------------------------------------------
The specified e-mail address is currently not supported.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.FormatException: The specified e-mail address is currently not supported.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Any ideas?

fwstealAsked:
Who is Participating?
 
Bob LearnedCommented:
I don't believe that you can use the mailto:  protocol prefix, just the email address.

bob
0
 
Bob LearnedCommented:
More information is required.  There is not enough to explain what you are trying to do.

Bob
0
 
Carl TawnSystems and Integration DeveloperCommented:
What were you doing at the time ? Is this after the button click ? What email were you using ? What storage settings are you using for retrieval ?
0
 
fwstealAuthor Commented:
here is the page and web.config

----------------------
pfolder/passwordrecovery.aspx -- contents:

<asp:PasswordRecovery ID="PasswordRecovery1" runat="server" MembershipProvider="MySqlMembershipProvider" SuccessPageUrl="~/Default.aspx">
            <QuestionTemplate>...</QuestionTemplate>
            <UserNameTemplate>...</UserNameTemplate>
            <SuccessTemplate>...</SuccessTemplate>
            <maildefinition IsBodyHtml="True" subject="Password Recovery" from="mailto:me@me.com" />
</asp:PasswordRecovery>

----------------------------

web.config -- contents:
<membership defaultProvider="MySqlMembershipProvider">
        <providers  >
          <add type="System.Web.Security.SqlMembershipProvider"
               name="MySqlMembershipProvider"
               connectionStringName="MySQLServer"
               applicationName="Mine"
               requiresUniqueEmail="true"
               minRequiredPasswordLength="5"
               minRequiredNonalphanumericCharacters="0"
               enablePasswordRetrieval="false"
               enablePasswordReset="true"
               />
        </providers>
</membership>

<system.net>
    <mailSettings>
      <smtp deliveryMethod="PickupDirectoryFromIis" from="me@me.com">
        <network
          host="localhost"
          port="25"
          defaultCredentials="true"
        />
      </smtp>
    </mailSettings>
</system.net>
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.