smfi_addrcpt_par

Synopsis


int smfi_addrcpt_par(
SMFICTX *ctx,
char *rcpt,
char *args
);

Add a recipient for the current message including ESMTP arguments.

Description

Called When Called only from xxfi_eom.
Effects Add a recipient to the message envelope.

Arguments

Argument Description
ctx Opaque context structure.
rcpt The new recipient's address.
args The new recipient's ESMTP parameters.

Return Values

smfi_addrcpt will fail and return MI_FAILURE if:

Otherwise, it will return MI_SUCCESS.

Notes

A filter which calls smfi_addrcpt must have set the SMFIF_ADDRCPT_PAR flag in the smfiDesc_str passed to smfi_register.