💌 Mail app for Nextcloud
Перейти к файлу
Jenkins for ownCloud 28f32895f3 [tx-robot] updated from transifex 2016-07-13 11:49:14 -04:00
appinfo Merge pull request #1554 from owncloud/license-headers 2016-07-08 09:44:27 +02:00
css remove more message button is obsolete with infinite scroll 2016-06-20 19:14:02 +02:00
img add missing favicon types 2016-03-01 02:31:27 +01:00
js allow left/right arrow to switch messages 2016-07-10 16:24:35 +02:00
l10n [tx-robot] updated from transifex 2016-07-13 11:49:14 -04:00
lib update/unify license headers 2016-07-07 17:26:47 +02:00
templates show import button only on 9.0+ 2016-05-09 08:51:25 +02:00
tests update/unify license headers 2016-07-07 17:26:47 +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 ignore NetBeans project directory 2016-02-07 20:43:36 +01: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
.scrutinizer.yml increase timeout to prevent failing checks when travis takes too long 2015-09-15 17:21:45 +02:00
.travis.yml Run/test appstore packaging on travis only once 2016-04-17 17:06:49 +02:00
CHANGELOG.md update changelog for 0.5.2 2016-06-16 15:01:07 +02:00
CONTRIBUTING.md Update CONTRIBUTING text and remove contributor agreement link 2016-04-17 15:26:21 +02:00
Gruntfile.js Ignore mail.min.js 2015-10-21 22:47:23 +02:00
Makefile Prevent merge conflicts of the changelog files 2016-05-29 18:39:33 +02:00
README.md update changelog and readme 2016-05-09 08:53:34 +02:00
bower.json use 'mail' instead of 'Mail' for bower to prevent warning 2016-07-10 16:22:33 +02:00
build.js don't require init when building the optimized js file 2016-04-24 15:02:44 +02:00
composer.json remove secure http: false 2016-06-12 11:19:25 +02:00
composer.lock Update composerlock to https 2016-06-19 14:15:56 +02:00
issue_template.md log SMTP communication #1392 2016-04-01 21:16:25 +02:00
karma.conf.js sync karma require config with runtime require config 2016-07-06 22:10:32 +02:00
package.json 0.5.3 version bump 2016-07-07 17:46:45 +02:00
translation-extractor.php update/unify license headers 2016-07-07 17:26:47 +02:00

README.md

ownCloud Mail

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

An email app for ownCloud (minimum version 8.0 & PHP 5.4).

Why is this so awesome?

  • 🚀 Integration with other ownCloud 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:

Installation

In your ownCloud, 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

Active: Thomas Müller, Jan-Christoph Borchardt, Christoph Wurst, Steffen Lindner, Lukas Reschke, Thomas Imbreckx, Robin McCorkell, Clement Wong, Colm ONeill, Alexander Weidinger, Hendrik Leppelsack, Plato Leung & Jakob Sack

Past contributors: Bart Visscher, Sebastian Schmid

If youd like to join, just go through the issue list and fix some. :) Were also in #owncloud-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 ownCloud Mail app.

Dovecot IMAP

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

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 (ownCloud core installation needed). Additionally, npm is needed for installing JavaScript dependencies. On Debian and Ubuntu Systems it can be installed with the following command:

sudo apt-get install nodejs-legacy npm

Once npm is 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-owncloud/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;

Go to ownCloud Mail in the browser and run this from the developer console to clear the cache:

localStorage.clear();

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 owncloud.log.

IMAP logging:

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

SMTP logging:

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

Server-side caching

Mailbox messages and accounts can be cached on the ownCloud server to reduce mail server load: This requires a valid memcache to be configured

'app.mail.server-side-cache.enabled' => true

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'