Dan Haywood created ISIS-1557:
---------------------------------

             Summary: Enhance EmailServiceDefault, to optionally throw 
exception if fail, and optionally allow overrides
                 Key: ISIS-1557
                 URL: https://issues.apache.org/jira/browse/ISIS-1557
             Project: Isis
          Issue Type: Improvement
          Components: Core
    Affects Versions: 1.13.2
            Reporter: Dan Haywood
            Priority: Minor
             Fix For: 1.13.3


Currently EmailServiceDefault simply logs any exceptions and returns a simple 
true/false to indicate if a failure.  It would be better if it could instead 
throw an exception.

Also, for testing it would be useful to allow the email to be "diverted" to 
some override location.  That way, the entire setup of smtp server etc can be 
tested, but with the assurance that the email won't be sent out to some 
customer accidentally.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to