how to restart sendmail in linux code example
Example: linux restart sendmail
/etc/init.d/sendmail restart
/etc/init.d/sendmail stop
/etc/init.d/sendmail start
/etc/init.d/sendmail restart
/etc/init.d/sendmail stop
/etc/init.d/sendmail start