Tinymail: Difference between revisions

From OLPC
Jump to navigation Jump to search
Line 27: Line 27:


= Creating an account =
= Creating an account =
This is for the [https://svn.tinymail.org/svn/tinymail/trunk/libtinymail/tny-account-store-iface.h TnyAccountStoreIface] implementation of the [https://svn.tinymail.org/svn/tinymail/trunk/libtinymail-olpc libtinymail-olpc] platform implementation (Jul 31 2006). You can find it [https://svn.tinymail.org/svn/tinymail/trunk/libtinymail-olpc/tny-account-store.c here]
This is for the [https://svn.tinymail.org/svn/tinymail/trunk/libtinymail/tny-account-store.h TnyAccountStore] implementation of the [https://svn.tinymail.org/svn/tinymail/trunk/libtinymail-olpc libtinymail-olpc] platform implementation (Jul 31 2006). You can find it [https://svn.tinymail.org/svn/tinymail/trunk/libtinymail-olpc/tny-olpc-account-store.c here]
mkdir -p $HOME/.tinymail/accounts/
mkdir -p $HOME/.tinymail/accounts/

Revision as of 08:58, 28 September 2006

Information about tinymail

Documentation about building

Information about camel-lite-builder

Building a tinymail suitable for OLPC

svn co https://svn.tinymail.org/svn/camel-lite-builder
svn co https://svn.tinymail.org/svn/tinymail
cd camel-lite-builder/trunk
./getcamel.sh
./autogen.sh --prefix=/opt/camel
make && make install
cd ../../tinymail/trunk
PKG_CONFIG_PATH=/opt/camel/lib/pkgconfig ./autogen.sh --prefix=/opt/tinymail-olpc --with-platform=olpc --enable-python-bindings
make && make install

note: You can also use jhbuild. It's in the build files of sugar

Creating an account

This is for the TnyAccountStore implementation of the libtinymail-olpc platform implementation (Jul 31 2006). You can find it here

mkdir -p $HOME/.tinymail/accounts/
vi $HOME/.tinymail/accounts/01
[tinymail]
type=store
proto=imap
hostname=IMAPSERVER
user=USERNAME
name=OLPC test

Using the Python bindings

cd libtinymail-test
export PYTHONPATH=/opt/tinymail-olpc/lib/python2.4/site-packages/tinymail-1.0
python tinymail-python-test.py