Interface TinyMailService.StatusHook
-
- All Implemented Interfaces:
public interface TinyMailService.StatusHookhook the sending result (success/failure), and can stop the next send. should not throw exception in the hook.
-
-
Method Summary
Modifier and Type Method Description abstract booleanstop(@NotNull() WinMailSender po, long cost, Exception exception)hook status, return true will stop mail next send -
-
Method Detail
-
stop
abstract boolean stop(@NotNull() WinMailSender po, long cost, Exception exception)
hook status, return true will stop mail next send
- Parameters:
po- mail infocost- send costexception- error if fail- Returns:
whether stop next send
-
-
-
-