Add email description to epp responce on contact creation

This commit is contained in:
Alex Sherman 2020-07-13 13:48:08 +05:00
parent 294c765819
commit 0a7b754c4c
7 changed files with 284 additions and 6 deletions

View file

@ -77,7 +77,10 @@ class Epp::Contact < Contact
[:email, :invalid],
[:country_code, :invalid],
[:code, :invalid],
[:code, :too_long_contact_code]
[:code, :too_long_contact_code],
[:email, :email_smtp_check_error],
[:email, :email_mx_check_error],
[:email, :email_regex_check_error]
],
'2302' => [ # Object exists
[:code, :epp_id_taken]