title: Send many emails at once by Thunderbird by c#
body: <p>I am sending emails to many people by Thunderbird by c#. I do it with loop. My problem is that when I run my application - for any email I send a new Thunderbird window is openning, and then I need to press "send" and so it is send. It is very inconvenient. How can I send all the emails at once?</p>
  
  <p>My code:</p>
  
  <pre><code>string strCommand;
  for(i=0;i&lt;100;i++)
  {
     strCommand = " -compose to=" + (char)34 + astrRecip[i] + (char)34 + ",";
     strCommand += "body=" + (char)34 + strMessage[i] + (char)34 + ",";
     strCommand += "subject=" + (char)34 + strSubject + (char)34 + ",";
     strCommand += "attachment=" + (char)34 + strAttachment[i] + (char)34;
     Process.Start(@"C:\Program Files\Mozilla Thunderbird\thunderbird", strCommand);
  }
  </code></pre>
  
  <p>I think that because I write "-compose" to every email so it is open a new window, maybe if I write one command-line it will be OK. I tried, but with no success.</p>