When non-nil, the value post-delivery-function should be a function designator for a function of one argument:
post-delivery-function successp
The system calls post-delivery-function after delivery. successp is true if delivery was successful and false otherwise.
Note: during the delivery process, the Lisp system can be in an unstable state, so it is not always possible to recover when delivery is not successful.
LispWorks Delivery User Guide - 15 Feb 2015