title: C++ SMTP that allows file attachments
body: <p>I am looking to create an SMTP that allows for file attachments, however, I am finding it difficult to locate a tutorial. I have found one close thing, which is <a href="https://stackoverflow.com/questions/58210/c-smtp-example">https://stackoverflow.com/questions/58210/c-smtp-example</a> , however, this fails to compile in VS2005/2010 because of the include files that are used.</p>
  
  <p>I would like to roll my own and not adapt to some library such as Curl or Boost. Does anyone have any suggestions on how to do this, or some small sample code with good documentation that will compile in Visual Studio?</p>