sendmail type added