Tinymail: Difference between revisions

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


= Using the Python bindings =
= Using the Python bindings =
cd libtinymail-test
cd tests/python-demo/
export PYTHONPATH=/opt/tinymail-olpc/lib/python2.4/site-packages/tinymail-1.0
export PYTHONPATH=/opt/tinymail-olpc/lib/python2.4/site-packages/tinymail-1.0
python tinymail-python-test.py
python tinymail-python-test.py

Revision as of 08:59, 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 tests/python-demo/
export PYTHONPATH=/opt/tinymail-olpc/lib/python2.4/site-packages/tinymail-1.0
python tinymail-python-test.py