Add option to raise error if sendmail fails
sendmail does not raise exception in order to not stop the transaction because of smtp issue.
But sometimes we want to be sure that an email will be sent or the transaction must be roll-backed.
I propose to add a strict parameter which will make sendmail to raise exceptions.