Nextcloud integration

Introduction

Integration of WebMail Pro 8 with Nextcloud allows users to access their email accounts from within Nextcloud interface, so WebMail Pro 8 acts and looks like a native application there.

IMPORTANT: This app does not install the product itself, it's assumed that webmail application is already installed on the same server where you have Nextcloud set up. The scenario of running Webmail and Nextcloud on different servers is supported as well.

Installation

In Apps screen of Nextcloud, search for Afterlogic, and click "Download and enable" button. Alternately, you can download the application and extract it into apps/ directory on server directly.

If you don't specify Path, it's assumed that it's installed on a different server than Nextcloud. For this to work, set AllowPostLogin to true in data/settings/modules/Core.config.json file of WebMail installation (it's less secure than the standard integration method but it's the only way of sending credentials to remote server).

Configuring by users

Under Settings > Personal > Additional settings, specify email address and password of your email account. Clicking "Mail" button in Nextcloud top bar should log you into that email account automatically. Note that Login field is optional and in most cases, you'll only need to supply Email and Password.

Troubleshooting

In older versions of Nextcloud, there may be an issue with a gap between header menu and main interface of WebMail Pro 8. To work around that, edit apps/afterlogic/templates/iframe.php file as follows: