News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

SMF doesn't accept personal email addresses like [email protected]

Started by lepidas, April 06, 2017, 05:44:05 AM

Previous topic - Next topic

lepidas

Hi!
I am trying to change my (admin) email address at account settings with a [email protected] but it says
The following errors occurred when trying to save your profile:
You have not entered a valid email address.



Illori


lepidas


Arantor

The TLD doesn't match SMF's idea of a valid TLD, and requires multiple changes to support it.

lepidas

Quote from: Arantor on April 06, 2017, 07:01:21 AM
The TLD doesn't match SMF's idea of a valid TLD, and requires multiple changes to support it.
OK I got it.
Does it support .info and/or .gr?

Arantor

Yes, I think the current limit on TLDs is 6 or 7 characters in 2.0. Though I thought I made it 8 back in like 2.0.6 or 2.0.7... don't remember.

lepidas

Quote from: Arantor on April 06, 2017, 07:37:03 AM
Yes, I think the current limit on TLDs is 6 or 7 characters in 2.0. Though I thought I made it 8 back in like 2.0.6 or 2.0.7... don't remember.
2.0.13 I use currently, but anyway.
Do you remember which file and where is to change? :)

Arantor


Shambles



lepidas

Quote from: lepidas on April 06, 2017, 09:34:20 AM
Quote from: Shambles on April 06, 2017, 09:32:27 AM
http://www.simplemachines.org/community/index.php?topic=540843.msg3844768#msg3844768


That's the kind of change required, but as stated may need applying in multiple places.
I will try it :) thanx :D
So no luck, by default it's set to 2,15 that means 2 to 15 characters, still it can't accept 11 characters.

Shambles

Which file did you check? The link I provided was just an example.

For your Profile/Account email you need to look in Profile-Modify.php.

Do a search in all your Sources files for the {2,6} string.

lepidas

Quote from: Shambles on April 06, 2017, 11:08:29 AM
Which file did you check? The link I provided was just an example.

For your Profile/Account email you need to look in Profile-Modify.php.

Do a search in all your Sources files for the {2,6} string.
Thanx :) that was to be done.
Your profile has been updated successfully.




Advertisement: