1168515Sgshapiro<HTML> 2168515Sgshapiro<HEAD><TITLE>smfi_addrcpt</TITLE></HEAD> 3168515Sgshapiro<BODY> 4132943Sgshapiro<!-- 5266692Sgshapiro$Id: smfi_addrcpt.html,v 1.12 2013-11-22 20:51:39 ca Exp $ 6132943Sgshapiro--> 7168515Sgshapiro<H1>smfi_addrcpt</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 <libmilter/mfapi.h> 1490792Sgshapiroint smfi_addrcpt( 1590792Sgshapiro SMFICTX *ctx, 1690792Sgshapiro char *rcpt 1790792Sgshapiro); 18168515Sgshapiro</PRE> 1990792SgshapiroAdd a recipient for the current message. 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>Add a recipient to the message 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 new recipient's address. 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_addrcpt will fail and return MI_FAILURE if: 53168515Sgshapiro<UL><LI>rcpt is NULL. 54168515Sgshapiro <LI>Adding recipients in the current connection state is invalid. 55168515Sgshapiro <LI>A network error occurs. 56168515Sgshapiro <LI>SMFIF_ADDRCPT was not set when <A href="smfi_register.html">smfi_register</A> was called. 57168515Sgshapiro</UL> 5890792SgshapiroOtherwise, it will return MI_SUCCESS. 59168515Sgshapiro</TD> 60168515Sgshapiro</TR> 6190792Sgshapiro 6290792Sgshapiro<!----------- Notes ----------> 63168515Sgshapiro<TR align="left" valign=top> 64168515Sgshapiro<TH>NOTES</TH> 65168515Sgshapiro<TD> 6690792SgshapiroA filter which calls smfi_addrcpt must have set the SMFIF_ADDRCPT flag 6790792Sgshapiroin the smfiDesc_str passed to 68168515Sgshapiro<A href="smfi_register.html">smfi_register</A>. 69168515Sgshapiro</TD> 70168515Sgshapiro</TR> 7190792Sgshapiro 72168515Sgshapiro</TABLE> 7390792Sgshapiro 74168515Sgshapiro<HR size="1"> 75168515Sgshapiro<FONT size="-1"> 76261363SgshapiroCopyright (c) 2000, 2003 Proofpoint, Inc. and its suppliers. 7790792SgshapiroAll rights reserved. 78168515Sgshapiro<BR> 7990792SgshapiroBy using this file, you agree to the terms and conditions set 80112810Sgshapiroforth in the LICENSE. 81168515Sgshapiro</FONT> 82168515Sgshapiro</BODY> 83168515Sgshapiro</HTML> 84