TRQ-2334. Change the sendmail pipe to use the temporary input file instead of pipes. Using pipes was resulting in stuck sendmail processes.