I am getting this error when JEvents generates a registration email
"Could not execute /usr/sbin/sendmail"
I tried sending a test email from the Global Configuration page and that works fine. Other emails from the system also work fine.
I tried switching to PHPMail - still no luck, but the error is now
"Could not instantiate mail function"