Python Example Script to echo_and_quit.py listens to DeltaChat initiated Chats only

Hi there,

maybe someone of you are using DeltaChat and python. I have tried to read through the src python codings but I could not manage to find the settings or coding where my issue is generated.
Thanks in advance. Happy new year!

Delta Chat version

1.4 and pyhton binding, running on a raspberry pi 4

Expected behavior

Nut sure, if feature or bug…
When a DeltaChat registered E-Mail account receives for the first time an E-Mail from a non DeltaChat contact or non contact, this will be displayed in the Android App as a New Conversation and can be accepted.

When running the python example codings (echo_and_quit.py) these E-Mails are not getting fetched by the listener (?) and are therefore not taken into account for further coding usage.

Expected, due to the system settings “all folders are taken into account for listening from all known and unknown contacts” also E-Mails initated by non DeltaChat Users should be processed by Python Coding

Actual behavior

When running the python example codings (echo_and_quit.py) incoming E-Mails from non DeltaChat users are not getting fetched by the listener (?) and are therefore not taken into account for further coding usage.

Steps to reproduce the problem

  1. … Run echo_and_quit.py with yout email settings
  2. … Send an text email from any email client to your DeltaChat Account
  3. … Check python log, no email was fetched during the process.

you need to set the config option show_emails to 2 (DC_SHOW_EMAILS_ALL) https://c.delta.chat/classdc__context__t.html#aff3b894f6cfca46cab5248fdffdf083d

account.set_config('show_emails', 2)

https://py.delta.chat/api.html#account

1 Like

Thanks a lot Simon… Got it