If you need the absolute path to sendmail for use in a script, you can find it at:
/usr/bin/sendmail
You can also find the paths to other useful programs by logging into your eXtend Control Panel and scrolling to ‘Website Helps & Diagnostics’.
Clicking ‘Paths and Versions’ will show you the paths you need for programs, as well as which versions of the software we have installed.