[Koha-bugs] [Bug 26067] Member email validation based on MX record

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Aug 9 18:20:09 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26067

--- Comment #9 from Amit Gupta <amitddng135 at gmail.com> ---
Created attachment 107975
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=107975&action=edit
Bug 26067 Member email validation based on MX record.

To Test
Currently we are doing testing for Primary email address from the OPAC page.
1. Enable system preference PatronSelfRegistration.
2. Set PatronSelfRegistrationDefaultCategory for ex: ST
3. Set PatronSelfRegistrationLibraryList for ex: MPL
4. Open the page /cgi-bin/koha/opac-memberentry.pl
5. Fill the form and enter email address in Primary email for ex:
amit at gmail12.com you will able to submit the page and it will not give any
error message.
6. Apply the patch.
7. Enable system preference PatronEmailValidationMXrecord set as Require.
8. Open the /cgi-bin/koha/opac-memberentry.pl again.
9. Fill the form and enter email address in Primary email for ex:
amit at gmail12.com and click on Submit button and it will give error message
"Invalid primary email address".

---------------------------------------
Currently in this patch we are checking on "Primary Email address". If this is
OK we can do check for "Secondary email" and Alternate "Email address"

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list