2 <HEAD><TITLE>smfi_addrcpt_par</TITLE></HEAD>
5 $Id: smfi_addrcpt_par.html,v 1.5 2013-11-22 20:51:39 ca Exp $
7 <H1>smfi_addrcpt_par</H1>
9 <TABLE border="0" cellspacing=4 cellpadding=4>
10 <!---------- Synopsis ----------->
11 <TR><TH valign="top" align=left width=100>SYNOPSIS</TH><TD>
13 #include <libmilter/mfapi.h>
20 Add a recipient for the current message including ESMTP arguments.
23 <!----------- Description ---------->
24 <TR><TH valign="top" align=left>DESCRIPTION</TH><TD>
25 <TABLE border="1" cellspacing=1 cellpadding=4>
26 <TR align="left" valign=top>
27 <TH width="80">Called When</TH>
28 <TD>Called only from <A href="xxfi_eom.html">xxfi_eom</A>.</TD>
30 <TR align="left" valign=top>
31 <TH width="80">Effects</TH>
32 <TD>Add a recipient to the message envelope.</TD>
37 <!----------- Arguments ---------->
38 <TR><TH valign="top" align=left>ARGUMENTS</TH><TD>
39 <TABLE border="1" cellspacing=0>
40 <TR bgcolor="#dddddd"><TH>Argument</TH><TH>Description</TH></TR>
41 <TR valign="top"><TD>ctx</TD>
42 <TD>Opaque context structure.
44 <TR valign="top"><TD>rcpt</TD>
45 <TD>The new recipient's address.
47 <TR valign="top"><TD>args</TD>
48 <TD>The new recipient's ESMTP parameters.
53 <!----------- Return values ---------->
55 <TH valign="top" align=left>RETURN VALUES</TH>
57 <TD>smfi_addrcpt_par will fail and return MI_FAILURE if:
59 <LI>Adding recipients in the current connection state is invalid.
60 <LI>A network error occurs.
61 <LI><A HREF="smfi_register.html#SMFIF_ADDRCPT_PAR">SMFIF_ADDRCPT_PAR</A> is not set._PAR
63 Otherwise, it will return MI_SUCCESS.
67 <!----------- Notes ---------->
68 <TR align="left" valign=top>
71 A filter which calls smfi_addrcpt_par must have set the
72 <A HREF="smfi_register.html#SMFIF_ADDRCPT_PAR">SMFIF_ADDRCPT_PAR</A> flag.
80 Copyright (c) 2006 Proofpoint, Inc. and its suppliers.
83 By using this file, you agree to the terms and conditions set