Interface WebEngineHistory.Mailer
- Enclosing class:
WebEngineHistory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Sends a warning mail to the administrators.
- Author:
- Christopher Mindus
Method Summary
Method Details
send
Sends a mail.- Parameters:
subject- The subject.text- The plain text.- Returns:
- The recipients it was sent to; 0 when there is nobody to send to, which is not an error.
- Throws:
Exception- If the mail cannot be sent: it is tried again at the next check.