smfi_addrcpt(3N) smfi_addrcpt(3N)
NAME
smfi_addrcpt() - adds a recipient for the current sendmail message
SYNOPSIS
PARAMETERS
ctx Specifies the opaque context structure.
rcpt Specifies the new address of the recipient.
DESCRIPTION
adds a recipient to the message envelope. can be called only from the routine.
Notes
A filter that calls the function must set the flag in the structure passed to the function.
RETURN VALUE
fails and returns due to the following reasons:
o The rcpt value is NULL.
o Adding recipients in the current connection state is invalid.
o Network error occurs.
o The flag is not set when the routine is called.
AUTHOR
was developed by the Sendmail Inc.
SEE ALSO
smfi_chgheader(3N), smfi_insheader(3N), smfi_addheader(3N), smfi_delrcpt(3N), smfi_replacebody(3N).
on
smfi_addrcpt(3N)