Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-1557

Enhance EmailServiceDefault, to optionally throw exception if fail, and optionally allow overrides

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.13.2
    • 1.14.0
    • Core
    • None

    Description

      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.

      Attachments

        Activity

          People

            danhaywood Daniel Keir Haywood
            danhaywood Daniel Keir Haywood
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: