smfi_addrcpt

Synopsis


int smfi_addrcpt(
SMFICTX *ctx,
char *rcpt
);

Add a recipient for the current message.

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.

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 flag in the smfiDesc_str passed to smfi_register.