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

Marcel de Rooy <m.de.r...@rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #124001|0                           |1
        is obsolete|                            |

--- Comment #12 from Marcel de Rooy <m.de.r...@rijksmuseum.nl> ---
Created attachment 124132
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=124132&action=edit
Bug 28803: Add invalid email handling in _send_message_by_email

This patch adds a try/catch block around the call to Koha::Email->create
to catch and handle invalid emails being passed in the parameters.

The message is marked as 'failed' with an error_code of 'INVALID_EMAIL'.

Signed-off-by: Tomas Cohen Arazi <tomasco...@theke.io>

Signed-off-by: Marcel de Rooy <m.de.r...@rijksmuseum.nl>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to