# Commands for "Nextcloud Mail"

**URL:** <https://syncloud.discourse.group/t/commands-for-nextcloud-mail/453>\
**Category:** Existing Apps\
**Tags:** nextcloud\
**Created:** [7 July 2024 10:14 UTC](https://syncloud.discourse.group/t/commands-for-nextcloud-mail/453 "2024-07-07T10:14:55Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christoph](https://avatars.discourse-cdn.com/v4/letter/c/eb8c5e/32.png) [@Christoph](https://syncloud.discourse.group/u/Christoph)\
**Post date:** [7 July 2024 10:14 UTC](https://syncloud.discourse.group/t/commands-for-nextcloud-mail/453/1 "2024-07-07T10:14:55Z")

</div>

How do I have to implement this so that it also works on the Syncloud server?

"Nextcloud mails are not displayed - solved  
What has now helped is to delete the account from the database.  
If you only have one account, then it is ID=1 in the database. I  
deleted it using the MySQL command, but you can also delete it directly in the table using phpMyAdmin:  
DELETE FORM oc\_mail\_accounts WHERE id=1

---

<div class="post-metadata">

**Author:** ![boris](https://avatars.discourse-cdn.com/v4/letter/b/74df32/32.png) [@boris](https://syncloud.discourse.group/u/boris)\
**Post date:** [7 July 2024 13:34 UTC](https://syncloud.discourse.group/t/commands-for-nextcloud-mail/453/2 "2024-07-07T13:34:06Z")

</div>

Not aure what it does but if you want to execute sql on syncloud, there is an sql shell to use:

> **[Nextcloud](https://github.com/syncloud/platform/wiki/Nextcloud#database)**
>
> Run popular services on your device with one click - syncloud/platform

Be careful as you can break nextcloud with sql commands.

---

<div class="post-metadata">

**Author:** ![Christoph](https://avatars.discourse-cdn.com/v4/letter/c/eb8c5e/32.png) [@Christoph](https://syncloud.discourse.group/u/Christoph)\
**Post date:** [7 July 2024 14:18 UTC](https://syncloud.discourse.group/t/commands-for-nextcloud-mail/453/3 "2024-07-07T14:18:36Z")

</div>

When I execute this SSH command, I get an error message saying that it does not recognize this command.  
What can I do?

---

<div class="post-metadata">

**Author:** ![boris](https://avatars.discourse-cdn.com/v4/letter/b/74df32/32.png) [@boris](https://syncloud.discourse.group/u/boris)\
**Post date:** [8 July 2024 08:02 UTC](https://syncloud.discourse.group/t/commands-for-nextcloud-mail/453/4 "2024-07-08T08:02:40Z")

</div>

Show me the screenshot please.

---

<div class="post-metadata">

**Author:** ![Christoph](https://avatars.discourse-cdn.com/v4/letter/c/eb8c5e/32.png) [@Christoph](https://syncloud.discourse.group/u/Christoph)\
**Post date:** [8 July 2024 10:55 UTC](https://syncloud.discourse.group/t/commands-for-nextcloud-mail/453/5 "2024-07-08T10:55:37Z")

</div>

![grafik](https://global.discourse-cdn.com/free1/uploads/syncloud/original/1X/450fac7e96dd0e87f83ece220978d6faa5193587.png)

---

<div class="post-metadata">

**Author:** ![boris](https://avatars.discourse-cdn.com/v4/letter/b/74df32/32.png) [@boris](https://syncloud.discourse.group/u/boris)\
**Post date:** [9 July 2024 06:20 UTC](https://syncloud.discourse.group/t/commands-for-nextcloud-mail/453/6 "2024-07-09T06:20:01Z")

</div>

The link above explains how to open sql shell by executing this command:

```auto
snap run nextcloud.psql

```

Then you can execute sql commands.
