title: Send mail via CMD console
body: <p>Hi i want to send mail via microsoft cmd console. I tried many way, but i didnt succeed. </p>
  
  <p>i tried this article <a href="http://jpsoft.com/help/index.htm?sendmail.htm" rel="noreferrer">http://jpsoft.com/help/index.htm?sendmail.htm</a> </p>
  
  <pre><code>sendmail "bob@bob.com bcc:joe@joe.com" Test Hello!
  </code></pre>
  
  <p><strong>the error is :</strong>  </p>
  
  <pre><code>'sendmail' is not recognized as an internal or external command operable program or batch file
  </code></pre>
  
  <p>and </p>
  
  <p>this article : <a href="http://www.brighthub.com/office/collaboration/articles/21840.aspx#imgn_1" rel="noreferrer">http://www.brighthub.com/office/collaboration/articles/21840.aspx#imgn_1</a></p>
  
  <pre><code>c:\&gt;"c:\program files\microsoft office\office12\outlook.exe" /c ipm.note /m someone@gmail.com /a "c:\logs\logfile.txt"
  </code></pre>
  
  <p><strong>the error is :</strong> </p>
  
  <pre><code>the process can not access the file because it is being used by another proccess
  </code></pre>
  
  <p>but it didnt worked. i dont know where is the problem or what is the problem.</p>
  
  <p>thanks for your advice.</p>