Instead of setting everything up manually, you can just download the nightly builds instead. These builds are updated every 24 hours, and are pre-configured with all the needed dependencies.
- Download
- Extract the tar archive to 'path-to-nextcloud/apps'
- Navigate to »Apps«, choose the category »Productivity«, find the Mail app and enable it.
The nightly builds are provided by Portknox.net
Connect to your database and run the following commands (oc_
is the default table prefix):
DELETE FROM oc_appconfig WHERE appid = 'mail';
DROP TABLE oc_mail_accounts;
DROP TABLE oc_mail_aliases;
DROP TABLE oc_mail_collected_addresses;
DROP TABLE oc_mail_attachments;