1d0cef73dSGregory Neil Shapiro<HTML> 2d0cef73dSGregory Neil Shapiro<HEAD><TITLE>smfi_delrcpt</TITLE></HEAD> 3d0cef73dSGregory Neil Shapiro<BODY> 4e92d3f3fSGregory Neil Shapiro<!-- 54313cc83SGregory Neil Shapiro$Id: smfi_delrcpt.html,v 1.12 2013-11-22 20:51:39 ca Exp $ 6e92d3f3fSGregory Neil Shapiro--> 7d0cef73dSGregory Neil Shapiro<H1>smfi_delrcpt</H1> 840266059SGregory Neil Shapiro 9d0cef73dSGregory Neil Shapiro<TABLE border="0" cellspacing=4 cellpadding=4> 1040266059SGregory Neil Shapiro<!---------- Synopsis -----------> 11d0cef73dSGregory Neil Shapiro<TR><TH valign="top" align=left width=100>SYNOPSIS</TH><TD> 12d0cef73dSGregory Neil Shapiro<PRE> 1340266059SGregory Neil Shapiro#include <libmilter/mfapi.h> 1440266059SGregory Neil Shapiroint smfi_delrcpt( 1540266059SGregory Neil Shapiro SMFICTX *ctx; 1640266059SGregory Neil Shapiro char *rcpt; 1740266059SGregory Neil Shapiro); 18d0cef73dSGregory Neil Shapiro</PRE> 1940266059SGregory Neil ShapiroRemove a recipient from the current message's envelope. 20d0cef73dSGregory Neil Shapiro</TD></TR> 2140266059SGregory Neil Shapiro 2240266059SGregory Neil Shapiro<!----------- Description ----------> 23d0cef73dSGregory Neil Shapiro<TR><TH valign="top" align=left>DESCRIPTION</TH><TD> 24d0cef73dSGregory Neil Shapiro<TABLE border="1" cellspacing=1 cellpadding=4> 25d0cef73dSGregory Neil Shapiro<TR align="left" valign=top> 26d0cef73dSGregory Neil Shapiro<TH width="80">Called When</TH> 27d0cef73dSGregory Neil Shapiro<TD>Called only from <A href="xxfi_eom.html">xxfi_eom</A>.</TD> 28d0cef73dSGregory Neil Shapiro</TR> 29d0cef73dSGregory Neil Shapiro<TR align="left" valign=top> 30d0cef73dSGregory Neil Shapiro<TH width="80">Effects</TH> 31d0cef73dSGregory Neil Shapiro<TD>smfi_delrcpt removes the named recipient from the current message's envelope.</TD> 32d0cef73dSGregory Neil Shapiro</TR> 33d0cef73dSGregory Neil Shapiro</TABLE> 34*5b0945b5SGregory Neil Shapiro</TD></TR> 3540266059SGregory Neil Shapiro 3640266059SGregory Neil Shapiro<!----------- Arguments ----------> 37d0cef73dSGregory Neil Shapiro<TR><TH valign="top" align=left>ARGUMENTS</TH><TD> 38d0cef73dSGregory Neil Shapiro <TABLE border="1" cellspacing=0> 39d0cef73dSGregory Neil Shapiro <TR bgcolor="#dddddd"><TH>Argument</TH><TH>Description</TH></TR> 40d0cef73dSGregory Neil Shapiro <TR valign="top"><TD>ctx</TD> 41d0cef73dSGregory Neil Shapiro <TD>Opaque context structure. 42d0cef73dSGregory Neil Shapiro </TD></TR> 43d0cef73dSGregory Neil Shapiro <TR valign="top"><TD>rcpt</TD> 44d0cef73dSGregory Neil Shapiro <TD>The recipient address to be removed, a non-NULL, null-terminated string. 45d0cef73dSGregory Neil Shapiro </TD></TR> 46d0cef73dSGregory Neil Shapiro </TABLE> 47d0cef73dSGregory Neil Shapiro</TD></TR> 4840266059SGregory Neil Shapiro 4940266059SGregory Neil Shapiro<!----------- Return values ----------> 50d0cef73dSGregory Neil Shapiro<TR> 51d0cef73dSGregory Neil Shapiro<TH valign="top" align=left>RETURN VALUES</TH> 5240266059SGregory Neil Shapiro 53d0cef73dSGregory Neil Shapiro<TD>smfi_delrcpt will fail and return MI_FAILURE if: 54d0cef73dSGregory Neil Shapiro<UL> 55d0cef73dSGregory Neil Shapiro <LI>rcpt is NULL. 56d0cef73dSGregory Neil Shapiro <LI>Deleting recipients in the current connection state is invalid. 57d0cef73dSGregory Neil Shapiro <LI>A network error occurs. 58*5b0945b5SGregory Neil Shapiro <LI><A HREF="smfi_register.html#SMFIF_DELRCPT">SMFIF_DELRCPT</A> is not set. 59d0cef73dSGregory Neil Shapiro</UL> 6040266059SGregory Neil ShapiroOtherwise, it will return MI_SUCCESS 61d0cef73dSGregory Neil Shapiro</TD> 62d0cef73dSGregory Neil Shapiro</TR> 6340266059SGregory Neil Shapiro 6440266059SGregory Neil Shapiro<!----------- Notes ----------> 65d0cef73dSGregory Neil Shapiro<TR align="left" valign=top> 66d0cef73dSGregory Neil Shapiro<TH>NOTES</TH> 67d0cef73dSGregory Neil Shapiro<TD> 68*5b0945b5SGregory Neil Shapiro<LI> 6940266059SGregory Neil ShapiroThe addresses to be removed must match exactly. For example, an address and its expanded form do not match. 70*5b0945b5SGregory Neil Shapiro<LI> 71*5b0945b5SGregory Neil ShapiroA filter which calls smfi_delrcpt must have set the 72*5b0945b5SGregory Neil Shapiro<A HREF="smfi_register.html#SMFIF_DELRCPT">SMFIF_DELRCPT</A> flag. 73d0cef73dSGregory Neil Shapiro</TD> 74d0cef73dSGregory Neil Shapiro</TR> 7540266059SGregory Neil Shapiro 76d0cef73dSGregory Neil Shapiro</TABLE> 7740266059SGregory Neil Shapiro 78d0cef73dSGregory Neil Shapiro<HR size="1"> 79d0cef73dSGregory Neil Shapiro<FONT size="-1"> 805dd76dd0SGregory Neil ShapiroCopyright (c) 2000, 2003 Proofpoint, Inc. and its suppliers. 8140266059SGregory Neil ShapiroAll rights reserved. 82d0cef73dSGregory Neil Shapiro<BR> 8340266059SGregory Neil ShapiroBy using this file, you agree to the terms and conditions set 845ef517c0SGregory Neil Shapiroforth in the LICENSE. 85d0cef73dSGregory Neil Shapiro</FONT> 86d0cef73dSGregory Neil Shapiro</BODY> 87d0cef73dSGregory Neil Shapiro</HTML> 88