rm sendmail method