fix a bug of mail sending 3