helplease
Yea so your SMTP is failing so it's attempting to use Sendmail as a fallback but that's also failing (it's likely not configured on your server).
One issue I noticed is your SMTP hostname is supposed to be smtp.office365.com
. Update that and retest.
Cheers.