TRQ-2334. Change the sendmail pipe to use the temporary input file instead of pipes. Using pipes was resulting in stuck sendmail processes.
Merge branch '4.2-dev' of https://github.com/adaptivecomputing/torque into 4.2-dev