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/examples.rst

19 lines
385 B
ReStructuredText

examples
========
::
# 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")
...