Use reset function in sendMail

Delete some duplicate content and use the reset function.

The reset function does some extra resetting:
$this->headers = array();
$this->data = array();
$this->testing = false;

I am assuming that these variables also need to be reset.