Fixed send mail for win