1168515Sgshapiro<HTML>
2168515Sgshapiro<HEAD><TITLE>smfi_delrcpt</TITLE></HEAD>
3168515Sgshapiro<BODY>
4132943Sgshapiro<!--
5266527Sgshapiro$Id: smfi_delrcpt.html,v 1.12 2013-11-22 20:51:39 ca Exp $
6132943Sgshapiro-->
7168515Sgshapiro<H1>smfi_delrcpt</H1>
890792Sgshapiro
9168515Sgshapiro<TABLE border="0" cellspacing=4 cellpadding=4>
1090792Sgshapiro<!---------- Synopsis ----------->
11168515Sgshapiro<TR><TH valign="top" align=left width=100>SYNOPSIS</TH><TD>
12168515Sgshapiro<PRE>
1390792Sgshapiro#include &lt;libmilter/mfapi.h&gt;
1490792Sgshapiroint smfi_delrcpt(
1590792Sgshapiro	SMFICTX *ctx;
1690792Sgshapiro	char *rcpt;
1790792Sgshapiro);
18168515Sgshapiro</PRE>
1990792SgshapiroRemove a recipient from the current message's envelope.
20168515Sgshapiro</TD></TR>
2190792Sgshapiro
2290792Sgshapiro<!----------- Description ---------->
23168515Sgshapiro<TR><TH valign="top" align=left>DESCRIPTION</TH><TD>
24168515Sgshapiro<TABLE border="1" cellspacing=1 cellpadding=4>
25168515Sgshapiro<TR align="left" valign=top>
26168515Sgshapiro<TH width="80">Called When</TH>
27168515Sgshapiro<TD>Called only from <A href="xxfi_eom.html">xxfi_eom</A>.</TD>
28168515Sgshapiro</TR>
29168515Sgshapiro<TR align="left" valign=top>
30168515Sgshapiro<TH width="80">Effects</TH>
31168515Sgshapiro<TD>smfi_delrcpt removes the named recipient from the current message's envelope.</TD>
32168515Sgshapiro</TR>
33168515Sgshapiro</TABLE>
3490792Sgshapiro
3590792Sgshapiro<!----------- Arguments ---------->
36168515Sgshapiro<TR><TH valign="top" align=left>ARGUMENTS</TH><TD>
37168515Sgshapiro    <TABLE border="1" cellspacing=0>
38168515Sgshapiro    <TR bgcolor="#dddddd"><TH>Argument</TH><TH>Description</TH></TR>
39168515Sgshapiro    <TR valign="top"><TD>ctx</TD>
40168515Sgshapiro	<TD>Opaque context structure.
41168515Sgshapiro	</TD></TR>
42168515Sgshapiro    <TR valign="top"><TD>rcpt</TD>
43168515Sgshapiro	<TD>The recipient address to be removed, a non-NULL, null-terminated string.
44168515Sgshapiro	</TD></TR>
45168515Sgshapiro    </TABLE>
46168515Sgshapiro</TD></TR>
4790792Sgshapiro
4890792Sgshapiro<!----------- Return values ---------->
49168515Sgshapiro<TR>
50168515Sgshapiro<TH valign="top" align=left>RETURN VALUES</TH> 
5190792Sgshapiro
52168515Sgshapiro<TD>smfi_delrcpt will fail and return MI_FAILURE if:
53168515Sgshapiro<UL>
54168515Sgshapiro    <LI>rcpt is NULL.
55168515Sgshapiro    <LI>Deleting recipients in the current connection state is invalid.
56168515Sgshapiro    <LI>A network error occurs.
57168515Sgshapiro    <LI>SMFIF_DELRCPT was not set when <A href="smfi_register.html">smfi_register</A> was called.
58168515Sgshapiro</UL>
5990792SgshapiroOtherwise, it will return MI_SUCCESS
60168515Sgshapiro</TD>
61168515Sgshapiro</TR>
6290792Sgshapiro
6390792Sgshapiro<!----------- Notes ---------->
64168515Sgshapiro<TR align="left" valign=top>
65168515Sgshapiro<TH>NOTES</TH> 
66168515Sgshapiro<TD>
6790792SgshapiroThe addresses to be removed must match exactly.  For example, an address and its expanded form do not match.
68168515Sgshapiro</TD>
69168515Sgshapiro</TR>
7090792Sgshapiro
71168515Sgshapiro</TABLE>
7290792Sgshapiro
73168515Sgshapiro<HR size="1">
74168515Sgshapiro<FONT size="-1">
75261194SgshapiroCopyright (c) 2000, 2003 Proofpoint, Inc. and its suppliers.
7690792SgshapiroAll rights reserved.
77168515Sgshapiro<BR>
7890792SgshapiroBy using this file, you agree to the terms and conditions set
79112810Sgshapiroforth in the LICENSE.
80168515Sgshapiro</FONT>
81168515Sgshapiro</BODY>
82168515Sgshapiro</HTML>
83