Is there a way to get the SMTPAppender to flush/send its buffer before the system exits?<div><br></div><div>If I&#39;ve a buffer of 64 and my program exits, it doesn&#39;t seem to be sending out what&#39;s in the queue.  Is there a way to either configure it to flush before the program exits or a hook I can call to trigger it?</div>

<div><br></div><div><br></div><div>Thanks,</div><div>-Mark</div>