fixed bug: singlepart mail sending does not work.