WBCE CMS – Way Better Content Editing.
Du bist nicht angemeldet.
Hello
I have problem with Mailer settings. My domain is: mydomain.company
It is not possible to set as a "Default From Mail" mail as office@mydomain.company
I receive error:
The email address you entered is invalid.
Is there any solution for such problem?
Offline
The email address check does not "know" the long TLDs yet and only allows domains with max. 6 letters.
First aid ( assuming you're using the latest WBCE version):
in admin/settings/save.php
change in line 45
$pattern = '/^[_a-zA-Z0-9-]+(\.[_a-zA-Z0-9-]+)*@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*\.(([0-9]{1,3})|([a-zA-Z]{2,6}))$/';
the max. length for TLDs, so it reads:
$pattern = '/^[_a-zA-Z0-9-]+(\.[_a-zA-Z0-9-]+)*@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*\.(([0-9]{1,3})|([a-zA-Z]{2,7}))$/';
... nein in Europa verwenden wir beim Programmieren nicht € statt $ ...
Offline
It solved the problem.
Thank you very much!
Offline