mirror of
https://github.com/deltachat/deltachat-core.git
synced 2025-10-04 18:29:19 +02:00
19 lines
385 B
ReStructuredText
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")
|
|
|
|
...
|