Does a thread close automatically?
<p>Im using a gmail class so that my app can send me notification over gmail.</p>

<p>Its done like this:</p>

<pre><code>public static void SendMessage(string message)
        {
            Notification.message = message;

            Thread t = new Thread(new ThreadStart(SendMessageThreaded));
            t.Start();
        }
</code></pre>

<p>and the threaded function look like this:</p>

<pre><code>private static void SendMessageThreaded()
        {
            try
            {
                if( Notification.message != "" )
                    RC.Gmail.GmailMessage.SendFromGmail("accname", "accpass", "email", "subject", Notification.message);

                Notification.message = "";
            }
            catch
            { }
        }
</code></pre>

<p>So after SendMessageThreaded is run, does it close by itself or do i have to </p>

<pre><code>t.Start()
t.Abort()
</code></pre>

<p>or something?</p>

<p>thanks</p>
