WebMail Lite 8 Documentation

Nextcloud integration

Introduction

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

Nextcloud integration

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.

Under Settings > Administration > Additional settings, specify URL and Path of WebMail installation you’ll be accessing.

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 Lite 8. To work around that, edit apps/afterlogic/templates/iframe.php file as follows:

<iframe id="appcon" style="border: none; width: 100%; height: 100%; position: absolute; top: 0px; left: 0px; right: 0px; bottom: 0px;"
        tabindex="-1" frameborder="0" src='<?php echo $_['afterlogic-url']; ?>'></iframe>

Conclusion

Source code of this app is available on Github.

If you have any questions or encounter any issues using WebMail within ownCloud, please feel free to open a ticket at the issue tracker. Thanks!