[GH-ISSUE #151] Unable to add Mailbox to a new TLD #119

Closed
opened 2026-02-26 09:36:03 +03:00 by kerem · 4 comments
Owner

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?

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?
kerem closed this issue 2026-02-26 09:36:03 +03:00
Author
Owner

@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.

<!-- gh-comment-id:135351693 --> @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.
Author
Owner

@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

On 27 Aug 2015, at 11:06 AM, SE0N notifications@github.com wrote:

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.


Reply to this email directly or view it on GitHub.

<!-- gh-comment-id:135370102 --> @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 > On 27 Aug 2015, at 11:06 AM, SE0N notifications@github.com wrote: > > 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. > > — > Reply to this email directly or view it on GitHub.
Author
Owner

@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.

<!-- gh-comment-id:135797760 --> @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.
Author
Owner

@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.

<!-- gh-comment-id:194814266 --> @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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ViMbAdmin-opensolutions#119
No description provided.