title: Sending mail to smtp server requiring authentication using Dev C++
body: <p>I am working on a program that connects to a tcp server, get some data and under certain conditions need to send an alert via email.(I'm helping someone with a school project)
  I'm using DevC++.</p>
  
  <p>It's been a few years since I've had anything to do with programming and have never done any programming in a network environment. (Hope that make sense)</p>
  
  <p>I got the TCP client and log file part going, but I can't get the mail sending part to work. </p>
  
  <p>Since I'm relatively inexperienced I've already wasted a lot of time, for example first of all I thought of trying POCO, but now it looks like you need Visual C++ to build the libraries.
  Next I tried jwsmtp, but the examples I could find didn't do authentication, and it seems that authentication is a must nowadays. Next I tried libCurl, but can't get the examples to work, first of all I get CURLOPT_MAIL_FROM was not declared in this scope, I read in some post that is caused by error in newest version, then the curl header files started giving all sorts of errors.</p>
  
  <p>My problem is that I am now fast running out of time. I would love to get it all working by myself, and even learn enough to write my own code, not just modifying and pasting together examples, but I made a promise and the deadline doesn't give me that option.</p>
  
  <p>Can someone please help with anything that will actually work on windows using DevC++ sending mail to a gmail account?</p>