DeepDiver1975 / mail

:love_letter: Mail app for Nextcloud

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ownCloud Mail

Downloads Build Status Scrutinizer Code Quality PHP Coverage JavaScript Coverage

An email app for ownCloud

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.
  • πŸ™ˆ We’re not reinventing the wheel! Based on the great Horde libraries.

Usage

Keyboard shortcuts for Mail

Speed up your Mail experience by using keyboard shortcuts.

Compose

Action Shortcut
Send Ctrl + Enter

Actions

Action Shortcut
Refresh R
Toggle star S
Delete Del
Toggle unread U
Navigation
Action Shortcut
Newer message K or ←
Older message J or β†’

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 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 (ownCloud 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

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_aliases;
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 owncloud.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'

About

:love_letter: Mail app for Nextcloud

License:GNU Affero General Public License v3.0


Languages

Language:JavaScript 50.3%Language:PHP 45.8%Language:CSS 2.0%Language:HTML 1.4%Language:Makefile 0.4%Language:Shell 0.0%