fixed send mail function in dnn 7.2