tags:

views:

361

answers:

4
+1  Q: 

Email in C++?

How can I send an email from C++? Is there a good cross-platform (MS Windows, Linux etc) library that I can use? I'm using GCC (cygwin on MS Windows).

+3  A: 

Look at VMime.

VMime is an all-in-one Internet mail library. This well designed, powerful C++ class library allows you to parse/build/modify MIME messages. With the messaging module, you can connect to POP3/IMAP/SMTP/Maildir very easily, and with the same code!

Igor Semenov
+1  A: 

Check out jwSMTP - a cross-platform SMTP class.

http://johnwiggins.net/jwsmtp/

Rob
+2  A: 

Check out C-Client

  • Apache license
  • Very established library ( makers of Pine email reader, UW-IMAP Server, etc. )
  • Supports IMAP, POP, SMTP, and NNTP
  • Unix and Windows
kervin
A: 

I actually accept all answers, thanks! :-)

Lennie De Villiers