2 <HEAD><TITLE>smfi_addrcpt_par</TITLE></HEAD>
5 $Id: smfi_addrcpt_par.html,v 1.4 2007/03/19 16:38:02 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>
36 <!----------- Arguments ---------->
37 <TR><TH valign="top" align=left>ARGUMENTS</TH><TD>
38 <TABLE border="1" cellspacing=0>
39 <TR bgcolor="#dddddd"><TH>Argument</TH><TH>Description</TH></TR>
40 <TR valign="top"><TD>ctx</TD>
41 <TD>Opaque context structure.
43 <TR valign="top"><TD>rcpt</TD>
44 <TD>The new recipient's address.
46 <TR valign="top"><TD>args</TD>
47 <TD>The new recipient's ESMTP parameters.
52 <!----------- Return values ---------->
54 <TH valign="top" align=left>RETURN VALUES</TH>
56 <TD>smfi_addrcpt will fail and return MI_FAILURE if:
58 <LI>Adding recipients in the current connection state is invalid.
59 <LI>A network error occurs.
60 <LI>SMFIF_ADDRCPT_PAR was not set when
61 <A href="smfi_register.html">smfi_register</A> was called.
63 Otherwise, it will return MI_SUCCESS.
67 <!----------- Notes ---------->
68 <TR align="left" valign=top>
71 A filter which calls smfi_addrcpt must have set the SMFIF_ADDRCPT_PAR flag
72 in the smfiDesc_str passed to
73 <A href="smfi_register.html">smfi_register</A>.
81 Copyright (c) 2006 Sendmail, Inc. and its suppliers.
84 By using this file, you agree to the terms and conditions set