add sendmail setting option
add sendmail support