Improve code.

git-svn-id: http://svn.code.sf.net/p/openmediavault/code/trunk@989 3c3d7b80-5828-415e-9f61-280b98178fff
Mantis 0001017: Notification settings - test-email not sent to second email-address.

git-svn-id: http://svn.code.sf.net/p/openmediavault/code/trunk@990 3c3d7b80-5828-415e-9f61-280b98178fff