LibGMailClientCXX

What it is

LibGMailClientCXX is a client library for GoogleMail, that C++ programs can use to access the server. Theoretically it could imitate anything that you could do using GMail from the browser, although it is still in early development. Right now it is mostly good for neat tricks, but it could be used just as easily in a fully-featured email client.

How you use it

See the Documentation page for a description of how to use LibGMailClientCXX. Here is a brief example:

#include <libgmailclientcxx/allheaders.hpp>
#include <string>
#include <iostream>

using namespace libgmailclientcxx;
using namespace std;

int main()
{
	GMailClient *client;
	ClientData *clientData;
	
	client = new GMailClient();
	clientData = client->getClientData();
	
	client->login("ethanallen", "a95u38aq");
	clientData->sendChat("obermeyer@gmail.com", "hello!");
	
	client->logout();
	delete client;
	
	return 0;
}

How you get it

Go to the Downloads page on SourceForge and download the source. Follow the installation instructions on the Documentation page.


SourceForge.net Logo Valid XHTML 1.1