Web Developer
I tried first time to use messaging to send email message. I created provider for our internal SMTP-server. Then I sent message to one test user. After sending the message and tried to open Messages tab page showed Server Error 500.
I'm using Appwrite 1.6.0 self-hosted and console version is appwrite/console:5.0.16
Docker logs for appwrite contains:
appwrite | Warning: foreach() argument must be of type array|object, int given in /usr/src/code/vendor/utopia-php/database/src/Database/Database.php on line 5381
appwrite | [Error] Timestamp: 2024-10-08T11:50:26+00:00
appwrite | [Error] Method: GET
appwrite | [Error] URL: /v1/messaging/messages
appwrite | [Error] Type: Exception
appwrite | [Error] Message: deliveryErrors must be an array of type string
appwrite | [Error] File: /usr/src/code/src/Appwrite/Utopia/Response.php
appwrite | [Error] Line: 630