smfi_replacebody man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

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
       ·  As the message body may be very  large,  setting  may	 significantly
	  affect filter performance.

       ·  If  a	 filter	 sets  but  does  not  call  the original body remains
	  unchanged.

       ·  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:

       ·  The  value  of  bodyp	 is  equal to NULL and the value of bodylen is
	  greater than 0.
       ·  Changing the body in the current connection state is invalid.
       ·  Network error occurs.
       ·  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)
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net