mirror of
https://github.com/deltachat/deltachat-core.git
synced 2025-10-04 02:09:17 +02:00
some further improvements -- and making all captions lower-case for the fun of it :)
This commit is contained in:
parent
8683de19e3
commit
959ac73122
8 changed files with 27 additions and 26 deletions
19
python/doc/examples.rst
Normal file
19
python/doc/examples.rst
Normal file
|
@ -0,0 +1,19 @@
|
|||
|
||||
|
||||
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")
|
||||
|
||||
...
|
Loading…
Add table
Add a link
Reference in a new issue