1
0
Fork 0
mirror of https://github.com/deltachat/deltachat-core.git synced 2025-10-04 10:19:16 +02:00
deltachat-core/python/doc/getting-started.rst
2018-09-14 11:36:07 +02:00

19 lines
400 B
ReStructuredText

Getting started
================
::
# instantiate and configure deltachat account
import deltachat
ac1 = deltachat.Account("/tmp/db")
ac.set_config(addr="test2@hq5.merlinux.eu", mail_pw="********")
# start configuration activity and smtp/imap threads
ac.start()
# create a contact and send a message
contact = ac.create_contact("test3@hq5.merlinux.eu")
...