smfi_addrcpt

SYNOPSIS
#include <libmilter/mfapi.h>
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
ArgumentDescription
ctx Opaque context structure.
rcpt The new recipient's address.
RETURN VALUES smfi_addrcpt will fail and return MI_FAILURE if:
  • rcpt is NULL.
  • Adding recipients in the current connection state is invalid.
  • A network error occurs.
  • SMFIF_ADDRCPT is not set.
Otherwise, it will return MI_SUCCESS.
NOTES A filter which calls smfi_addrcpt must have set the SMFIF_ADDRCPT flag.

Copyright (c) 2000, 2003 Proofpoint, Inc. and its suppliers. All rights reserved.
By using this file, you agree to the terms and conditions set forth in the LICENSE.