2 <head><title>smfi_addrcpt</title></head>
6 <table border="0" cellspacing=4 cellpadding=4>
7 <!---------- Synopsis ----------->
8 <tr><th valign="top" align=left width=150>SYNOPSIS</th><td>
10 #include <libmilter/mfapi.h>
16 Add a recipient for the current message.
19 <!----------- Description ---------->
20 <tr><th valign="top" align=left>DESCRIPTION</th><td>
21 <table border="1" cellspacing=1 cellpadding=4>
22 <tr align="left" valign=top>
23 <th width="80">Called When</th>
24 <td>Called only from <a href="xxfi_eom.html">xxfi_eom</a>.</td>
26 <tr align="left" valign=top>
27 <th width="80">Effects</th>
28 <td>Add a recipient to the message envelope.</td>
32 <!----------- Arguments ---------->
33 <tr><th valign="top" align=left>ARGUMENTS</th><td>
34 <table border="1" cellspacing=0>
35 <tr bgcolor="#dddddd"><th>Argument</th><th>Description</th></tr>
36 <tr valign="top"><td>ctx</td>
37 <td>Opaque context structure.
39 <tr valign="top"><td>rcpt</td>
40 <td>The new recipient's address.
45 <!----------- Return values ---------->
47 <th valign="top" align=left>RETURN VALUES</th>
49 <td>smfi_addrcpt will fail and return MI_FAILURE if:
51 <li>Adding headers in the current connection state is invalid.
52 <li>A network error occurs.
53 <li>SMFIF_ADDRCPT was not set when <a href="smfi_register.html">smfi_register</a> was called.
55 Otherwise, it will return MI_SUCCESS.
59 <!----------- Notes ---------->
60 <tr align="left" valign=top>
63 A filter which calls smfi_addrcpt must have set the SMFIF_ADDRCPT flag
64 in the smfiDesc_str passed to
65 <a href="smfi_register.html">smfi_register</a>.
73 Copyright (c) 2000, 2003 Sendmail, Inc. and its suppliers.
76 By using this file, you agree to the terms and conditions set