Impltement sendmail command