smtp_should_session_shutdown — Determine whether an SMTP session should be shut down
int **core_smtp_should_session_shutdown** ( | closure, | |
| | dc
); | |
smtp_should_session_shutdown hook allows modules to apply logic to determine whether an SMTP session should be shut down. This hook is called after a successful SMTP delivery and provides an alternate mechanism for terminating the session (alternate to exceeding max_deliveries_per_connection). This hook can also terminate a session after a failed SMTP delivery attempt.
A pointer to the closure.
The delivery_construct struct. See “delivery_construct”.
EC_HOOK_RETVAL is returned. For more information see “Hooking API”.
This hook will be invoked in the