send mail to register