-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Labels
Description
There is no specific exception handling for sending e-mail. This cause a lot of undesirable behavior:
- No log record are created
- No e-mail is sended, even if only one rcpt is invalid
- Server returns HTTP STATUS 500 with the stackstrace string as body, making the browser to show the body as text
You could use setSendPartial to prevent behavior number 2, but it still will needed to handle exception.
It also will be nice to log which e-mails were invalid with SendFailedException.getInvalidAddresses.
Sorry not to provide a PR, but I don't work with Scala.