Remove superfluous parameter, fixes #2216

This cleans up the low-level sendmail function (as proposed by scrutinizer).