title: Good SMTP + SSL/TLS Library for C?
body: <p>I apologize if this question has been asked before. I did a rather extensive search for similar questions, however all I could find were answers related to C++ or C#. I'm using GNU C.</p>
  
  <p>I'm writing a daemon that needs to be able to send e-mail using SMTP. I need to be able to login to an external mail server, send the email and interpret any error codes. For various reasons, I can not use the system's sendmail facility (if even one is present).</p>
  
  <p>The library should support at least OpenSSL. GNUTLS would be a perk, but not really needed.</p>
  
  <p>Ideally, the library would be licensed LGPL2 (and later) or 3 clause BSD.</p>
  
  <p>Any suggestions?</p>