hpux man page for smfi_replacebody

Query: smfi_replacebody

OS: hpux

Section: 3n

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

smfi_replacebody(3N)													      smfi_replacebody(3N)

NAME
smfi_replacebody() - replaces the data in the sendmail message body
SYNOPSIS
PARAMETERS
ctx Specifies the opaque context structure. bodyp Specifies a pointer to the start of the new body data, which does not have to be null-terminated. If bodyp is set to NULL, the length of the body is considered to be 0 (zero). The body data must be in CR or LF form. bodylen Specifies the number of data bytes pointed by bodyp.
DESCRIPTION
replaces the body of the current message. can be called only from the routine and can be called more than once. When is called more than once, the subsequent calls append data to the new body of the message. Notes o As the message body may be very large, setting may significantly affect filter performance. o If a filter sets but does not call the original body remains unchanged. o The filter order is important for the routine. Filters placed later in the sequence will observe the changes
RETURN VALUE
fails and returns due to the following reasons: o The value of bodyp is equal to NULL and the value of bodylen is greater than 0. o Changing the body in the current connection state is invalid. o Network error occurs. o The is not set when the function is called.
AUTHOR
was developed by the Sendmail Inc.
SEE ALSO
smfi_chgheader(3N), smfi_insheader(3N), smfi_addrcpt(3N), smfi_addheader(3N), smfi_delrcpt(3N). on smfi_replacebody(3N)
Related Man Pages
newsbody(1) - debian
ne_set_request_body_buffer(3) - debian
smfi_register(3n) - hpux
tidy.body(3) - php
http::proxy::bodyfilter::complete(3pm) - debian
Similar Topics in the Unix Linux Community
Follow-up w/ Perderabo re: mimetool
How to check sqlplus command is successfull or not in HP UX?
Sending email with attachment and body
Mailx with attachment and message body
Mutt command - email body with out file name