mirror of
https://github.com/opensolutions/ViMbAdmin.git
synced 2026-04-26 00:36:00 +03:00
[GH-ISSUE #151] Unable to add Mailbox to a new TLD #119
Labels
No labels
bug
feature
feature
improvement
improvement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ViMbAdmin-opensolutions#119
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SE0N on GitHub (Aug 26, 2015).
Original GitHub issue: https://github.com/opensolutions/ViMbAdmin/issues/151
Hi maybe this can be resolved on another way but I have the issue, that I can on the one hand add a new tld like xyz.online, but I can't add a mailbox to it (like: admin@xyz.online).
It just says: Invalid email address.
Can someone give me a hint on how to avoid the mail check or in which file it is, so that I can disable it?
@SE0N commented on GitHub (Aug 27, 2015):
Ok seems to be a problem with the Zend_Validate.
I removed the Zend_Validate in Line 275 of the MailboxController.php and now I can add them.
But if you need to validate the complete email for your mail adresses, you shouldn't comment it out.
@extremeshok commented on GitHub (Aug 27, 2015):
You should just validate the email address contains :
No invalid characters
Has text @ and a .
Unless you want to issue daily updates for each new tld being released.
Sent from my iPhone
@SE0N commented on GitHub (Aug 28, 2015):
The problem was with the Zend_Validate in the tool. I had no invalid characters or something like that in neither the domain nor the name (it was just admin as name and my domain with .online as the domain) For every other domain with .com or .de or .eu I could add a box with the same name, just for .online it wasn't possible. So my guess was, that Zend_Validate makes some more validations in the background with the tlds.
@s256 commented on GitHub (Mar 10, 2016):
Commented the "if" case in line #65 out in ViMbAdmin/application/views/alias/js/add.js
if( address.substr( 0, 1 ) == '@' && isValidEmailDomain( address.substr( 1 ) ) || isValidEmail( address ) )It's working now.