Sun Java System Messaging Server 6 2005Q4 MTA Developer's Reference

MTA_PRIV_ENABLE_PROC

The address of a procedure to invoke immediately before enqueuing a message so as to enable process privileges.

Privileges are required to enqueue messages. It is possible to provide mtaSend() with the address of two procedures to call. One procedure is called immediately prior to enqueuing a message thereby allowing process privileges to be enabled. The second procedure is then called immediately after the message has been enqueued thereby allowing process privileges to be disabled.

For further details on the use of this item code, see Required Privileges for mtaSend().

This item code must be used in conjunction with MTA_PRIV_DISABLE_PROC.

The item_length field is ignored for this item code.