resolved method send mail