Interface AccountEmailChange.IMailStep
- Enclosing class:
AccountEmailChange
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
The delivery step of a mail:
Mail::queue in the server, a fake in the tests.- Author:
- Christopher Mindus
Method Summary
Method Details
deliver
Delivers the mail: queues or sends it.- Parameters:
mail- The mail.- Returns:
- true when the mail is queued or sent, false when it was not accepted.
- Throws:
MessagingException- For mail errors.IOException- If the mail queue cannot be written.