Refactored Mail Transport and Domain Validator (#6791)
* Added validation to prevent conflicts between mail domains and mail transports: * When adding a new mail domain, the system now checks for existing mail transports with the same domain. * When adding a new mail transport (routing), the system verifies that no mail domain with the same domain exists. * Cleaned up non-functional code in the mail transport validator.
Showing
- interface/lib/classes/validate_mail_transport.inc.php 36 additions, 2 deletionsinterface/lib/classes/validate_mail_transport.inc.php
- interface/web/mail/form/mail_domain.tform.php 6 additions, 0 deletionsinterface/web/mail/form/mail_domain.tform.php
- interface/web/mail/form/mail_transport.tform.php 6 additions, 0 deletionsinterface/web/mail/form/mail_transport.tform.php
- interface/web/mail/lib/lang/en_mail_domain.lng 1 addition, 0 deletionsinterface/web/mail/lib/lang/en_mail_domain.lng
- interface/web/mail/lib/lang/en_mail_transport.lng 1 addition, 0 deletionsinterface/web/mail/lib/lang/en_mail_transport.lng
Loading
Please register or sign in to comment