smfi_delrcpt

Synopsis


int smfi_delrcpt(
SMFICTX *ctx;
char *rcpt;
);

Remove a recipient from the current message's envelope.

Description

Called When Called only from xxfi_eom.
Effects smfi_delrcpt removes the named recipient from the current message's envelope.

Arguments

Argument Description
ctx Opaque context structure.
rcpt The recipient address to be removed, a non-NULL, null-terminated string.

Return Values

smfi_delrcpt will fail and return MI_FAILURE if:

Otherwise, it will return MI_SUCCESS

Notes

The addresses to be removed must match exactly. For example, an address and its expanded form do not match.