YAFLogo

johnk
  • johnk
  • 74.8% (Friendly)
  • YAF All-the-Time Topic Starter
11 years ago
Whenever we try to change email address, either using Admin Console or user tries to change it through their control panel, it always gives an error message "You have entered an illegal email address".
Sponsor
johnk
  • johnk
  • 74.8% (Friendly)
  • YAF All-the-Time Topic Starter
11 years ago
This is for the 2.0 Beta version from codeplex.
Zero2Cool
  • Zero2Cool
  • 100% (Exalted)
  • YAF Leader YAF Version: YAF 3.1.16
11 years ago

Whenever we try to change email address, either using Admin Console or user tries to change it through their control panel, it always gives an error message "You have entered an illegal email address".

Originally Posted by: johnk 

I noticed this too. And am using the latest build to date.

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
11 years ago
Should be fixed now in the admin section

or user tries to change it through their control panel

FYI when a user changes the Email Address and Email Verification is enabled in the Host Settings, the user gets a verification Email and need to verify the new email address.

jboris
  • jboris
  • 51.8% (Neutral)
  • YAF Forumling
9 years ago
Bringing this up again. We are having this same issue. We have the latest version 2.2.0, and cannot change via admin or as a user. Any additonal thoughts?
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
9 years ago

Bringing this up again. We are having this same issue. We have the latest version 2.2.0, and cannot change via admin or as a user. Any additonal thoughts?

Originally Posted by: jboris 

The error message would only occur if more then one user has the same email address. In yaf email's have to be unique.

jboris
  • jboris
  • 51.8% (Neutral)
  • YAF Forumling
9 years ago
Thank you! That makes sense now. I was hoping to have users with dual roles for testing, but I can work around that. It just so happened every email I tried was already in the system.
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
9 years ago

Thank you! That makes sense now. I was hoping to have users with dual roles for testing, but I can work around that. It just so happened every email I tried was already in the system.

Originally Posted by: jboris 

Well the problem is that yaf allows to have non unique email addresses, but the problem is that while it is allowed some functions only work with unique emails.

So its highly recommended that the requiresUniqueEmail is set to true in the connection string for the used Membership provider in the web.config.

Zero2Cool
  • Zero2Cool
  • 100% (Exalted)
  • YAF Leader YAF Version: YAF 3.1.16
9 years ago
Executing this SQL should disclose any duplicate emails you have.

select email, count(*)
  from yaf_user
  group by email
  having count(*) > 1