💌 Mail app for Nextcloud
Перейти к файлу
Christoph Wurst 3ed009dfed
show error-view instead of yellow notification on content loading errors
2016-09-16 16:42:19 +02:00
.github fix nc branding 2016-08-29 13:25:41 +02:00
appinfo fix nc branding 2016-08-29 13:25:41 +02:00
build move translation extractor to build dir 2016-09-05 15:21:18 +02:00
css use button for the 'New message' button and fix its styling 2016-09-04 18:16:49 +02:00
img add viewBox to app icon for proper scaling in Firefox 2016-09-01 13:31:55 +02:00
js show error-view instead of yellow notification on content loading errors 2016-09-16 16:42:19 +02:00
l10n [tx-robot] updated from transifex 2016-09-05 11:16:37 +00:00
lib Scrutinizer Auto-Fixes 2016-09-14 06:08:41 +00:00
screenshots fix screenshot and compress 2016-08-29 14:47:58 +02:00
templates inject prefilled data 2016-08-25 10:53:13 +02:00
tests replace deprecated getMock method with mock builder 2016-09-14 16:28:33 +02:00
.bowerrc use bower as dependency manager for front-end js libraries 2015-08-30 14:41:33 +02:00
.gitattributes Prevent merge conflicts of the changelog files 2016-05-29 18:39:33 +02:00
.gitignore move js build files to 'build' dir 2016-08-22 21:54:49 +02:00
.jscsrc JSCS Fixes 2015-08-31 10:20:49 +02:00
.jshintignore update npm packages; update jshint ignore list 2015-09-25 16:16:32 +02:00
.jshintrc Fix jshint errors 2015-08-29 18:53:30 +02:00
.lgtm require only one approval 2016-08-29 13:17:59 +02:00
.scrutinizer.yml Ignore js dependencies and tests from scrutinizer 2016-09-14 08:16:52 +02:00
.travis.yml enable server's app code checker and fix remaining issues 2016-09-02 13:25:08 +02:00
CHANGELOG.md update changelog for 0.5.2 2016-06-16 15:01:07 +02:00
COPYING add proper COPYING agplv3 license file 2016-09-12 10:30:13 +02:00
Gruntfile.js fix license headers 2016-08-04 15:45:00 +02:00
Makefile move translation extractor to build dir 2016-09-05 15:21:18 +02:00
README.md Making IMAP and SMTP timeouts configurable 2016-09-10 14:16:15 -04:00
bower.json fix nc branding 2016-08-29 13:25:41 +02:00
composer.json update horde libs 2016-07-12 10:56:35 +02:00
composer.lock update horde libs 2016-07-12 10:56:35 +02:00
karma.conf.js sync karma require config with runtime require config 2016-07-06 22:10:32 +02:00
package.json fix nc branding 2016-08-29 13:25:41 +02:00

README.md

Nextcloud Mail

Build Status Scrutinizer Code Quality Code Coverage PHP Dependency Status JS Dependency Status

An email app for Nextcloud

Why is this so awesome?

  • 🚀 Integration with other Nextcloud apps! Currently Contacts, Calendar & Files – more to come.
  • 📥 Multiple mail accounts! Personal and company account? No problem, and a nice unified inbox.
  • 🔒 Send & receive encrypted emails! Using the great Mailvelope browser extension.
  • 🙈 Were not reinventing the wheel! Based on the great Horde libraries.

And in the works for the coming versions:

  • 📚 Proper grouping of message threads
  • Caching to make everything faster
  • 📎 Even better attachment support
  • 📦 Folder management & moving mails

Installation

In your Nextcloud, simply navigate to »Apps«, choose the category »Productivity«, find the Mail app and enable it. Then open the Mail app from the app menu. Put in your email account credentials and off you go!

If you experience any issues or have enhancement suggestions you can report them in our issue tracker. Please follow the issue template so we get the info we need to be able to debug and fix the problem. Thanks!

Maintainers

Christoph Wurst, Thomas Müller, Jan-Christoph Borchardt, Steffen Lindner and many more

If youd like to join, just go through the issue list and fix some. :) Were also in #nextcloud-mail on freenode IRC.

Troubleshooting

Gmail

If you can not access your Gmail account use https://accounts.google.com/DisplayUnlockCaptcha to unlock your account.

Outlook.com

If you can not access your Outlook.com account try to enable the 'Two-Factor Verification' (https://account.live.com/proofs/Manage) and setup an app password (https://account.live.com/proofs/AppPassword), which you then use for the Nextcloud Mail app.

Dovecot IMAP

If your Dovecot IMAP server prefixes all folders with INBOX, Nextcloud Mail does not work correctly.

Check /etc/dovecot/dovecot.conf:

namespace inbox {
        separator = .
        # All folders prefixed
        # prefix = INBOX.
        prefix =
        inbox = yes
        type = private
}

Developer setup info

Just clone this repo into your apps directory (Nextcloud server installation needed). Additionally, nodejs and npm are needed for installing JavaScript dependencies.

Once node and npm are installed, PHP and JavaScript dependencies can be installed by running

make install-composer-deps
make optimize-js

Nightly builds

Instead of setting everything up manually, you can just download the nightly builds instead. These builds are updated every 12 hours - 00:00 (12:00 AM) and 12:00 (12:00 PM) UTC+0200, and are pre-configured with all the needed dependencies.

  1. Download
  2. Extract the tar archive to 'path-to-nextcloud/apps'
  3. Navigate to »Apps«, choose the category »Productivity«, find the Mail app and enable it.

The nightly builds are provided by Daniel Hansson

Resetting the app

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_collected_addresses;

Configuration

Certain advanced or experimental features need to be specifically enabled in your config.php:

Debug mode

You can enable IMAP and SMTP backend logging. A horde_imap.log for IMAP and horde_smtp.log for SMTP will appear in the same directory as your nextcloud.log.

IMAP logging:

'app.mail.imaplog.enabled' => true

SMTP logging:

'app.mail.smtplog.enabled' => true

Timeouts:

Depending on your mail host, it may be necessary to increase your IMAP and/or SMTP timeout settings. Currently IMAP defaults to 20 seconds and SMTP defaults to 2 seconds. They can be changed with.

IMAP timeout:

'app.mail.imap.timeout' => 20

SMTP timeout:

'app.mail.smtp.timeout' => 2

Use php-mail for mail sending

You can use the php mail function to send mails. This is needed for some webhosters (1&1 (1und1)):

'app.mail.transport' => 'php-mail'