Revert "Sendmail issue"

This reverts commit 9e222c6bdd92f4bf861538523833dcfe8033f4d8.