private void button1_Click(object sender, EventArgs e) { new Thread(SendTestEmail).Start(); MessageBox.Show("Sending test email..."); }