public override void OnTestExecutionBegin(TestExecutor testExecutor, TestExecutionBeginArgs args)
        {
            _totalPassed   = 0;
            _totalFailed   = 0;
            _totalErrored  = 0;
            _totalInactive = 0;

            string delimitedRecipients;

            _build        = Convert.ToString(TestProperties.GetPropertyValue("Build"));
            _buildTrigger = Convert.ToString(TestProperties.GetPropertyValue("BuildTrigger"));
            _mailHost     = Convert.ToString(TestProperties.GetPropertyValue("MailHost"));
            _port         = Convert.ToInt32(TestProperties.GetPropertyValue("Port"));
            _sender       = Convert.ToString(TestProperties.GetPropertyValue("Sender"));

            delimitedRecipients = Convert.ToString(TestProperties.GetPropertyValue("Recipients"));

            _recipients = delimitedRecipients.Split(new char[] { ';' });

            for (int i = 0; i < _recipients.Length; i++)
            {
                _recipients[i] = _recipients[i].Trim();
            }

            // Add computer information.
            appendToBody(string.Format("\r\nTester:  {0}\r\nHost machine:  {1}\r\nRun time:  {2}",
                                       Environment.UserName, Environment.MachineName, DateTime.Now.ToString("F")));
        }