Giter VIP home page Giter VIP logo

mail's Introduction

Nextcloud Mail

Downloads GitHub Workflow Status Codecov Dependabot Status

💌 A mail 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. Connect any IMAP account.
  • 🔒 Send & receive encrypted mails! Using the great Mailvelope browser extension.
  • 📑 Message threads! Now we have proper grouping of message threads.
  • 🗄️ Mailbox management! You can edit, delete, add submailboxes and more.
  • 🙈 We’re not reinventing the wheel! Based on the great Horde libraries.
  • 📬 Want to host your own mail server? We don’t have to reimplement this as you could set up Mail-in-a-Box!

If you experience any issues or have any suggestions for improvement, use the issue tracker. Please follow the issue template chooser so we get the info needed to debug and fix the problem. Thanks!

Ethical AI Rating

Priority Inbox

Rating: 🟢

Positive:

  • The software for training and inferencing of this model is open source.
  • The model is created and trained on-premises based on the user's own data.
  • The training data is accessible to the user, making it possible to check or correct for bias or optimise the performance and CO2 usage.

Thread Summaries (opt-in)

Rating: 🟢/🟡/🟡/🔴

The rating depends on the installed text processing backend. See the rating overview for details.

Learn more about the Nextcloud Ethical AI Rating in our blog.

Maintainers

Installation

The app is distributed through the app store and you can install it right from your Nextcloud installation.

Release tarballs are hosted at https://github.com/nextcloud-releases/mail/releases.

Get on board

For new contributors, please check out ContributingToNextcloudIntroductoryWorkshop

Development setup

Just clone this repo into your apps directory (Nextcloud server installation needed). Additionally, npm to fetch Node.js is needed for installing JavaScript dependencies and composer is needed for dependency management in PHP.

Once npm and Node.js are installed, PHP and JavaScript dependencies can be installed by running:

make dev-setup

We are also available on our public Mail development chat, if you want to join the development discussion. Please report bugs here on Github and open any questions and support tickets at the community forum.

Documentation

Need help? Check out our documentation. It's split into three parts.

mail's People

Contributors

christophwurst avatar deepdiver1975 avatar dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar gomez avatar gretad avatar hamza221 avatar irgendwie avatar jakobsack avatar jancborchardt avatar johannesgge avatar juliakirschenheuter avatar kesselb avatar kevgathuku avatar kklem0 avatar lcalaresu avatar lukasreschke avatar miaulalala avatar morrisjobke avatar nextcloud-bot avatar nickvergessen avatar rakekniven avatar renovate[bot] avatar rullzer avatar skjnldsv avatar st3iny avatar stcyr avatar tahaalibra avatar valdnet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mail's Issues

Can not delete Gmail messages

Steps to reproduce

When I use Gmail in the mail app everything works fine. But if I want to delete a message ist comes the error "Fehler beim Löschen der Nachricht."

Expected behaviour

Delete should work

Actual behaviour

The message can not be deleted and appears again and again.

Mail app

Mail 0.5.3

Gmail Settings:

imap.gmail.com

Requires SSL: Yes

Port: 993

smtp.gmail.com

Requires SSL: Yes

Requires Authentication: Yes

Port for SSL: 465

Server configuration

Operating system:
Debian Jessie
Web server:
apache2 (2.4.10-10+deb8u7)
Database:
Type: mysql
Version: 5.5.52
PHP version:
Version 7.0.11

Updated from an older version or fresh install:
Update from 10.0.0
List of activated apps:
Enabled:

  • activity: 2.3.2
  • admin_audit: 1.0.0
  • calendar: 1.4.0
  • comments: 1.0.0
  • contacts: 1.4.0.0
  • dav: 1.0.1
  • external: 1.2
  • federatedfilesharing: 1.0.1
  • federation: 1.0.1
  • files: 1.5.2
  • files_accesscontrol: 1.1.2
  • files_external: 1.0.2
  • files_pdfviewer: 0.8.1
  • files_sharing: 1.0.0
  • files_texteditor: 2.1
  • files_trashbin: 1.0.0
  • files_versions: 1.3.0
  • files_videoplayer: 0.9.8
  • firstrunwizard: 1.1
  • gallery: 15.0.0
  • mail: 0.5.3
  • news: 9.0.4
  • notifications: 0.3.0
  • ownbackup: 0.3.8
  • password_policy: 1.0.0
  • provisioning_api: 1.0.0
  • richdocuments: 1.1.7
  • serverinfo: 1.1.1
  • survey_client: 0.1.5
  • systemtags: 1.0.2
  • templateeditor: 0.1
  • theming: 1.0.1
  • updatenotification: 1.0.1
  • workflowengine: 1.0.1
    Disabled:
  • encryption
  • files_automatedtagging
  • files_retention
  • user_external
  • user_ldap
  • user_saml

The content of config/config.php:

{
"system": {
"updatechecker": false,
"instanceid": "_REMOVED SENSITIVE VALUE",
"passwordsalt": "_REMOVED SENSITIVE VALUE
",
"secret": "_REMOVED SENSITIVE VALUE",
"trusted_domains": [
"_REMOVED SENSITIVE VALUE
",
"_REMOVED SENSITIVE VALUE"
],
"datadirectory": "/srv/data",
"overwrite.cli.url": "https://_REMOVED SENSITIVE VALUE
/nextcloud",
"dbtype": "mysql",
"version": "9.1.1.5",
"dbname": "owncloud",
"dbhost": "localhost",
"dbtableprefix": "oc_",
"dbuser": "_REMOVED SENSITIVE VALUE",
"dbpassword": "_REMOVED SENSITIVE VALUE
",
"logtimezone": "Europe/Berlin",
"installed": true,
"logfile": "/srv/data/nextcloud.log",
"loglevel": 1,
"memcache.local": "\OC\Memcache\Redis",
"memcache.locking": "\OC\Memcache\Redis",
"filelocking.enabled": "true",
"redis": {
"host": "/var/run/redis/redis.sock",
"port": 0,
"timeout": 0
},
"theme": "",
"maintenance": false,
"appstore.experimental.enabled": true,
"log_rotate_size": 10485760,
"mail_smtpmode": "smtp",
"mail_smtpsecure": "tls",
"mail_from_address": "_REMOVED SENSITIVE VALUE",
"mail_domain": "gmail.com",
"mail_smtpauthtype": "LOGIN",
"mail_smtpauth": 1,
"mail_smtphost": "smtp.gmail.com",
"mail_smtpport": "587",
"mail_smtpname": "_REMOVED SENSITIVE VALUE
",
"mail_smtppassword": "_REMOVED SENSITIVE VALUE"
},
"apps": {
"activity": {
"enabled": "yes",
"installed_version": "2.3.2",
"types": "filesystem"
},
"admin_audit": {
"enabled": "yes",
"installed_version": "1.0.0",
"types": "logging"
},
"announcementcenter": {
"enabled": "no",
"installed_version": "0",
"ocsid": "173921",
"signed": "true",
"types": ""
},
"backgroundjob": {
"lastjob": "12"
},
"calendar": {
"enabled": "yes",
"installed_version": "1.4.0",
"ocsid": "168707",
"types": ""
},
"comments": {
"enabled": "yes",
"installed_version": "1.0.0",
"types": "logging"
},
"contacts": {
"enabled": "yes",
"installed_version": "1.4.0.0",
"ocsid": "168708",
"types": ""
},
"core": {
"OC_Channel": "stable",
"backgroundjobs_mode": "cron",
"incoming_server2server_share_enabled": "no",
"installedat": "1458458097.0455",
"lastcron": "1475759224",
"lastupdateResult": "[]",
"lastupdatedat": "1475758758",
"oc.integritycheck.checker": "[]",
"outgoing_server2server_share_enabled": "no",
"public_documents": "documents/public.php",
"public_files": "files_sharing/public.php",
"public_richdocuments": "richdocuments/public.php",
"public_webdav": "dav/appinfo/v1/publicwebdav.php",
"remote_caldav": "dav/appinfo/v1/caldav.php",
"remote_calendar": "dav/appinfo/v1/caldav.php",
"remote_carddav": "dav/appinfo/v1/carddav.php",
"remote_contacts": "dav/appinfo/v1/carddav.php",
"remote_dav": "dav/appinfo/v2/remote.php",
"remote_files": "dav/appinfo/v1/webdav.php",
"remote_webdav": "dav/appinfo/v1/webdav.php",
"repairlegacystoragesdone": "yes",
"shareapi_default_expire_date": "yes",
"shareapi_expire_after_n_days": "18",
"umgmt_show_email": "true",
"umgmt_show_last_login": "true",
"umgmt_show_storage_location": "false",
"vendor": "nextcloud"
},
"dav": {
"enabled": "yes",
"installed_version": "1.0.1",
"types": "filesystem"
},
"documents": {
"converter": "local",
"enabled": "no",
"installed_version": "0.12.0",
"ocsid": "168711",
"types": ""
},
"external": {
"enabled": "yes",
"installed_version": "1.2",
"ocsid": "166046",
"sites": "_REMOVED SENSITIVE VALUE
,
"types": ""
},
"federatedfilesharing": {
"enabled": "yes",
"installed_version": "1.0.1",
"types": ""
},
"federation": {
"autoAddServers": "0",
"enabled": "yes",
"installed_version": "1.0.1",
"types": "authentication"
},
"files": {
"cronjob_scan_files": "500",
"default_quota": "5 GB",
"enabled": "yes",
"installed_version": "1.5.2",
"types": "filesystem"
},
"files_accesscontrol": {
"enabled": "yes",
"installed_version": "1.1.2",
"types": "filesystem"
},
"files_external": {
"enabled": "yes",
"installed_version": "1.0.2",
"ocsid": "166048",
"types": "filesystem"
},
"files_pdfviewer": {
"enabled": "yes",
"installed_version": "0.8.1",
"ocsid": "166049",
"types": ""
},
"files_sharing": {
"enabled": "yes",
"incoming_server2server_share_enabled": "yes",
"installed_version": "1.0.0",
"outgoing_server2server_share_enabled": "yes",
"types": "filesystem"
},
"files_texteditor": {
"enabled": "yes",
"installed_version": "2.1",
"ocsid": "166051",
"types": ""
},
"files_trashbin": {
"enabled": "yes",
"installed_version": "1.0.0",
"types": "filesystem"
},
"files_versions": {
"enabled": "yes",
"installed_version": "1.3.0",
"types": "filesystem"
},
"files_videoplayer": {
"enabled": "yes",
"installed_version": "0.9.8",
"types": ""
},
"firstrunwizard": {
"enabled": "yes",
"installed_version": "1.1",
"ocsid": "166055",
"types": ""
},
"gallery": {
"enabled": "yes",
"installed_version": "15.0.0",
"types": ""
},
"mail": {
"enabled": "yes",
"installed_version": "0.5.3",
"ocsid": "169914",
"signed": "true",
"types": ""
},
"news": {
"enabled": "yes",
"installed_version": "9.0.4",
"ocsid": "168040",
"types": ""
},
"notifications": {
"enabled": "yes",
"installed_version": "0.3.0",
"types": "logging"
},
"ojsxc": {
"enabled": "no",
"installed_version": "3.0.0",
"ocsid": "162257",
"types": "prelogin"
},
"ownbackup": {
"enabled": "yes",
"installed_version": "0.3.8",
"ocsid": "170674",
"types": ""
},
"password_policy": {
"enabled": "yes",
"installed_version": "1.0.0",
"minLength": "10",
"types": ""
},
"provisioning_api": {
"enabled": "yes",
"installed_version": "1.0.0",
"types": "prevent_group_restriction"
},
"richdocuments": {
"enabled": "yes",
"installed_version": "1.1.7",
"ocsid": "174727",
"types": "",
"wopi_url": "https://_REMOVED SENSITIVE VALUE_"
},
"serverinfo": {
"enabled": "yes",
"installed_version": "1.1.1",
"types": ""
},
"shorten": {
"enabled": "no",
"installed_version": "0.0.15",
"ocsid": "168591",
"types": "filesystem"
},
"spreedme": {
"OWNCLOUD_TEMPORARY_PASSWORD_LOGIN_ENABLED": "false",
"SPREED_WEBRTC_BASEPATH": "/webrtc/",
"SPREED_WEBRTC_IS_SHARED_INSTANCE": "false",
"SPREED_WEBRTC_ORIGIN": "",
"enabled": "no",
"installed_version": "0.3.1",
"is_set_up": "true",
"ocsid": "174436",
"types": ""
},
"survey_client": {
"enabled": "yes",
"installed_version": "0.1.5",
"types": ""
},
"systemtags": {
"enabled": "yes",
"installed_version": "1.0.2",
"types": "logging"
},
"templateeditor": {
"enabled": "yes",
"installed_version": "0.1",
"types": ""
},
"theming": {
"backgroundMime": "image/jpeg",
"cachebuster": "114",
"color": "#004E78",
"enabled": "yes",
"installed_version": "1.0.1",
"logoMime": "image/svg+xml",
"name": "****",
"types": "logging"
},
"updatenotification": {
"calendar": "1.4.0",
"contacts": "1.4.0.0",
"enabled": "yes",
"installed_version": "1.0.1",
"mail": "0.5.3",
"news": "9.0.4",
"richdocuments": "1.1.7",
"types": ""
},
"workflowengine": {
"enabled": "yes",
"installed_version": "1.0.1",
"types": "filesystem"
}
}
}

Client configuration

Browser:
Chromium 53.0.2785.113 built on Debian stretch/sid,
Google Chrome on macOS Sierra
Operating system:
Debian Stretch and macOS Sierra

Logs

Server log (data/nextcloud.log)
Exception: {"Exception":"Horde_Imap_Client_Exception_ServerResponse","Message":"The object could not be created because it already exists.","Code":22,"Trace":"#0 \/var\/www\/nextcloud\/apps\/mail\/vendor\/pear-pear.horde.org\/Horde_Imap_Client\/Horde\/Imap\/Client\/Socket.php(4554): Horde_Imap_Client_Socket->responseCode(Object(HordeImap_Client_Interaction_Pipeline), Object(Horde_Imap_Client_Interaction_Server_Tagged))\n#1 \/var\/www\/nextcloud\/apps\/mail\/vendor\/pear-pear.horde.org\/Horde_Imap_Client\/Horde\/Imap\/Client\/Socket.php(4302): Horde_Imap_Client_Socket->getLine(Object(HordeImap_Client_Interaction_Pipeline))\n#2 \/var\/www\/nextcloud\/apps\/mail\/vendor\/pear-pear.horde.org\/Horde_Imap_Client\/Horde\/Imap\/Client\/Socket.php(4230): Horde_Imap_Client_Socket->sendCmdChunk(Object(HordeImap_Client_Interaction_Pipeline), Array)\n#3 \/var\/www\/nextcloud\/apps\/mail\/vendor\/pear-pear.horde.org\/Horde_Imap_Client\/Horde\/Imap\/Client\/Socket.php(1271): Horde_Imap_Client_Socket->sendCmd(Object(HordeImap_Client_Interaction_Command))\n#4 \/var\/www\/nextcloud\/apps\/mail\/vendor\/pear-pear.horde.org\/Horde_Imap_Client\/Horde\/Imap\/Client\/Base.php(1141): Horde_Imap_Client_Socket->createMailbox(Object(HordeImap_Client_Mailbox), Array)\n#5 \/var\/www\/nextcloud\/apps\/mail\/vendor\/pear-pear.horde.org\/Horde_Imap_Client\/Horde\/Imap\/Client\/Socket.php(3682): Horde_Imap_Client_Base->createMailbox(Object(Horde_Imap_Client_Mailbox))\n#6 \/var\/www\/nextcloud\/apps\/mail\/vendor\/pear-pear.horde.org\/Horde_Imap_Client\/Horde\/Imap\/Client\/Base.php(2955): Horde_Imap_Client_Socket->copy(Object(HordeImap_Client_Mailbox), Array)\n#7 \/var\/www\/nextcloud\/apps\/mail\/lib\/account.php(499): Horde_Imap_Client_Base->copy(Object(Horde_Imap_Client_Mailbox), Object(Horde_Imap_Client_Mailbox), Array)\n#8 \/var\/www\/nextcloud\/apps\/mail\/lib\/controller\/messagescontroller.php(350): OCA\Mail\Account->deleteMessage('INBOX', '16686')\n#9 [internal function]: OCA\Mail\Controller\MessagesController->destroy(5, 'SU5CT1g=', '16686')\n#10 \/var\/www\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php(160): call_user_func_array(Array, Array)\n#11 \/var\/www\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php(90): OC\AppFramework\Http\Dispatcher->executeController(Object(OCA\Mail\Controller\MessagesController), 'destroy')\n#12 \/var\/www\/nextcloud\/lib\/private\/AppFramework\/App.php(111): OC\AppFramework\Http\Dispatcher->dispatch(Object(OCA\Mail\Controller\MessagesController), 'destroy')\n#13 \/var\/www\/nextcloud\/lib\/private\/AppFramework\/Routing\/RouteActionHandler.php(47): OC\AppFramework\App::main('OCA\\Mail\\Contro...', 'destroy', Object(OC\AppFramework\DependencyInjection\DIContainer), Array)\n#14 [internal function]: OC\AppFramework\Routing\RouteActionHandler->_invoke(Array)\n#15 \/var\/www\/nextcloud\/lib\/private\/Route\/Router.php(293): calluser_func(Object(OC\AppFramework\Routing\RouteActionHandler), Array)\n#16 \/var\/www\/nextcloud\/lib\/base.php(983): OC\Route\Router->match('\/apps\/mail\/acco...')\n#17 \/var\/www\/nextcloud\/index.php(48): OC::handleRequest()\n#18 {main}","File":"\/var\/www\/nextcloud\/apps\/mail\/vendor\/pear-pear.horde.org\/Horde_Imap_Client\/Horde\/Imap\/Client\/Socket.php","Line":5109}


Notification »Message flag could not be set«

Sometimes after restarting the browser or refreshing the view I get this notification. It’s a very technical message and isn’t really helpful, so it’s probably better to not show it at all.

(I assume what is meant is the read/unread »flag« in this case?)


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Non-square avatars are stretched

Steps to reproduce

  1. Add a contact with email address and avatar that is not square (contacts app)
  2. Open mail-folder with email from this contact

Expected behaviour

The avatar should be fit into the circle.

Actual behaviour

The avatar is stretched to the size of the circle.

Mail app

Mail app version: 0.5.4


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

first email is marked as read on mobile device although it is not shown

Steps to reproduce

  1. Have an unread email on top of the list
  2. Open the mail app with your mobile device
  3. The email will be marked as read but it is not shown

Expected behaviour

Email should stay unread

Actual behaviour

Email gets marked read

Mail app

Mail app version: 0.5.3

Number of accounts: 1

Server configuration

Operating system: Debian Jessie

Web server: apache

Database: mysql

Client configuration

Browser: Edge on Windows 10 mobile

Operating system: Windows 10 mobile

Mail app doe not send, shouldn't use "pilelining"

Steps to reproduce

  1. Press Send on an new e-mail
  2. Web message: "Server error"
  3. Nothing sent

Expected behaviour

Well ... e-mail should be sent

Actual behaviour

No mail sent

Mail app

Mail app version: 0.5.3

Mailserver or service: Self-hosted OpenSMTPD 5.7.3p2-3, behind an NginX SMTP proxy 1.10.1

Transport security - IMAP: STARTTLS

Transport security - SMTP: STARTTLS

**Number of accounts:**2

Server configuration

Operating system: Archlinux in LXC containers.

Web server: NginX 1.10.1

Database: MariaDB 10

PHP version: 7.0

Version: 10.0.1

Updated from an older version or fresh install: Update

List of activated apps: Mail

Client configuration

Browser: Firefox

Operating system: ArchLinux

Logs

Horde IMAP log (data/horde_imap.log)
##### Horde SMTP log (data/horde_smtp.log)
500 5.5.1 Invalid command: Pipelining not supported
## Note

It seems that Pipelining has some kind of a security risk. Wen searching for the message, that popped up.
The Rainloop app sends mail without any problem.

Original bug report was wrongly filed at:
nextcloud/server#1596

Inbox Folders recognized as Subfolders instead of Folders in the sidebar

Steps to reproduce

  1. Subfolders are not shown in a tree structure in my inbox
  2. They are shown as Nextcloud.Box instead of Box (child) under Nextcloud (parent)

Expected behaviour

The Inbox folders should appear in a tree hierarchy supporting Subfolders and maybe also Subsubfolders.

Mail app

Mail app version: 0.5.3

Mailserver or service: Namecheap Shared Hosting

Transport security - IMAP: SSL/TLS

Transport security - SMTP: SSL/TLS

Number of accounts: 1

Mail app version build date: (only if you are using a Nightly Build)

Server configuration

Operating system: linux

Web server: Apache 2.2.31

Database: MySQL

PHP version: 5.4.43

Version: 10.0.1 (stable)

Updated from an older version or fresh install: Fresh Install

List of activated apps:
Mail
Contacts
Calendar


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Always: "Auto detect failed. Please use manual mode."

Steps to reproduce

  1. Install mail apps.
  2. Try to configure a account.

Expected behaviour

Setting the mail account..

Actual behaviour

Always return a message: "Auto detect failed. Please use manual mode."

Mail app

Mail app version: 0.6 from git

Mailserver or service: Outlook, Yahoo, and Gmail... etc..

Transport security - IMAP: None, especial configured. Fail autodetect.

Transport security - SMTP: None, especial configured. Fail autodetect.

Number of accounts: Zero..

Mail app version build date: From git now.

Server configuration

Operating system: Fedora 24 kernel 4.7.2

Web server: Apache

Database: Mariadb 10.1

*PHP version: * 5.6.25

Version: 9.1

Updated from an older version or fresh install: Update since 8.1

List of activated apps:

Enabled:
  - audioplayer: 1.2.2
  - calendar: 1.4.0
  - comments: 0.3.0
  - contacts: 1.4.0.0
  - dav: 0.2.5
  - federatedfilesharing: 0.3.0
  - federation: 0.1.0
  - files: 1.5.1
  - files_external: 0.6.0
  - files_sharing: 0.10.0
  - files_trashbin: 0.9.0
  - files_versions: 1.3.0
  - files_videoplayer: 0.9.8
  - gallery: 15.0.0
  - logreader: 1.1.5
  - mail: 0.6.0
  - notifications: 0.3.0
  - quicknotes: 0.1.1
  - richdocuments: 1.1.4
  - systemtags: 0.3.0
  - templateeditor: 0.1
Disabled:
  - activity
  - encryption
  - external
  - files_antivirus
  - files_pdfviewer
  - files_texteditor
  - firstrunwizard
  - provisioning_api
  - tasks
  - updatenotification
  - user_external
  - user_ldap

The content of config/config.php:

{
    "system": {
        "instanceid": "ocf419unlr9b",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "delellis.com.ar",
            "localhost",
            "owncloud-pc.local"
        ],
        "datadirectory": "\/var\/lib\/owncloud\/data",
        "overwrite.cli.url": "https:\/\/delellis.com.ar",
        "htaccess.RewriteBase": "\/",
        "dbtype": "mysql",
        "version": "9.1.0.15",
        "dbname": "owncloud",
        "dbhost": "127.0.0.1",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "UTC",
        "installed": true,
        "theme": "example2",
        "default_language": "es",
        "appstoreenabled": true,
        "appstoreurl": "https:\/\/api.owncloud.com\/v1",
        "appstore.experimental.enabled": true,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "app.mail.server-side-cache.enabled": true,
        "app.mail.smtp.timeout": 20,
        "asset-pipeline.enabled": false,
        "assetdirectory": "\/var\/www\/html\/owncloud",
        "maintenance": false,
        "loglevel": 2,
        "mail_smtpmode": "php"
    },
    "apps": {
        "activity": {
            "enabled": "no",
            "installed_version": "2.2.1",
            "types": "filesystem"
        },
        "audioplayer": {
            "enabled": "yes",
            "installed_version": "1.2.2",
            "ocsid": "174738",
            "signed": "true",
            "types": ""
        },
        "backgroundjob": {
            "lastjob": "87"
        },
        "calendar": {
            "enabled": "yes",
            "installed_version": "1.4.0",
            "ocsid": "168707",
            "signed": "true",
            "types": ""
        },
        "comments": {
            "enabled": "yes",
            "installed_version": "0.3.0",
            "types": "logging"
        },
        "contacts": {
            "enabled": "yes",
            "installed_version": "1.4.0.0",
            "ocsid": "168708",
            "types": ""
        },
        "core": {
            "OC_Channel": "stable",
            "backgroundjobs_mode": "cron",
            "incoming_server2server_share_enabled": "yes",
            "installedat": "1461934033.7049",
            "lastcron": "1474545605",
            "lastupdateResult": "[]",
            "lastupdatedat": "0",
            "oc.integritycheck.checker": "[]",
            "outgoing_server2server_share_enabled": "yes",
            "public_files": "files_sharing\/public.php",
            "public_richdocuments": "richdocuments\/public.php",
            "public_webdav": "dav\/appinfo\/v1\/publicwebdav.php",
            "remote_caldav": "dav\/appinfo\/v1\/caldav.php",
            "remote_calendar": "dav\/appinfo\/v1\/caldav.php",
            "remote_carddav": "dav\/appinfo\/v1\/carddav.php",
            "remote_contacts": "dav\/appinfo\/v1\/carddav.php",
            "remote_dav": "dav\/appinfo\/v2\/remote.php",
            "remote_files": "dav\/appinfo\/v1\/webdav.php",
            "remote_webdav": "dav\/appinfo\/v1\/webdav.php",
            "repairlegacystoragesdone": "yes",
            "shareapi_allow_group_sharing": "no",
            "shareapi_allow_mail_notification": "yes"
        },
        "dav": {
            "enabled": "yes",
            "installed_version": "0.2.5",
            "types": "filesystem"
        },
        "federatedfilesharing": {
            "enabled": "yes",
            "installed_version": "0.3.0",
            "types": ""
        },
        "federation": {
            "autoAddServers": "0",
            "enabled": "yes",
            "installed_version": "0.1.0",
            "types": "authentication"
        },
        "files": {
            "cronjob_scan_files": "500",
            "enabled": "yes",
            "installed_version": "1.5.1",
            "types": "filesystem"
        },
        "files_external": {
            "enabled": "yes",
            "installed_version": "0.6.0",
            "ocsid": "166048",
            "types": "filesystem"
        },
        "files_pdfviewer": {
            "enabled": "no",
            "installed_version": "0.8.1",
            "ocsid": "166049",
            "types": ""
        },
        "files_sharing": {
            "enabled": "yes",
            "incoming_server2server_share_enabled": "yes",
            "installed_version": "0.10.0",
            "outgoing_server2server_share_enabled": "yes",
            "types": "filesystem"
        },
        "files_texteditor": {
            "enabled": "no",
            "installed_version": "2.1",
            "ocsid": "166051",
            "types": ""
        },
        "files_trashbin": {
            "enabled": "yes",
            "installed_version": "0.9.0",
            "types": "filesystem"
        },
        "files_versions": {
            "enabled": "yes",
            "installed_version": "1.3.0",
            "types": "filesystem"
        },
        "files_videoplayer": {
            "enabled": "yes",
            "installed_version": "0.9.8",
            "types": ""
        },
        "firstrunwizard": {
            "enabled": "no",
            "installed_version": "1.1",
            "ocsid": "166055",
            "types": ""
        },
        "gallery": {
            "enabled": "yes",
            "installed_version": "15.0.0",
            "types": ""
        },
        "logreader": {
            "enabled": "yes",
            "installed_version": "1.1.5",
            "levels": "11111",
            "ocsid": "170871",
            "types": ""
        },
        "mail": {
            "enabled": "yes",
            "installed_version": "0.6.0",
            "ocsid": "169914",
            "types": ""
        },
        "matias": {
            "richdocuments": "save_path"
        },
        "music": {
            "enabled": "no",
            "installed_version": "0.3.11",
            "ocsid": "164319",
            "types": "filesystem"
        },
        "notifications": {
            "enabled": "yes",
            "installed_version": "0.3.0",
            "types": "logging"
        },
        "ownnotes": {
            "enabled": "no",
            "installed_version": "0.0.2",
            "types": ""
        },
        "provisioning_api": {
            "enabled": "no",
            "installed_version": "0.4.1",
            "types": "prevent_group_restriction"
        },
        "quicknotes": {
            "enabled": "yes",
            "installed_version": "0.1.1",
            "ocsid": "174716",
            "types": ""
        },
        "richdocuments": {
            "enabled": "yes",
            "installed_version": "1.1.4",
            "ocsid": "174727",
            "types": "",
            "wopi_url": "https:\/\/delellis.com.ar"
        },
        "serverinfo": {
            "enabled": "no",
            "installed_version": "1.1.1",
            "types": ""
        },
        "sketch": {
            "enabled": "no",
            "installed_version": "0.1.2",
            "ocsid": "174146",
            "types": ""
        },
        "systemtags": {
            "enabled": "yes",
            "installed_version": "0.3.0",
            "types": "logging"
        },
        "tasks": {
            "enabled": "no",
            "installed_version": "0.9.3",
            "ocsid": "164356",
            "signed": "true",
            "types": ""
        },
        "templateeditor": {
            "enabled": "yes",
            "installed_version": "0.1",
            "types": ""
        },
        "updatenotification": {
            "enabled": "no",
            "installed_version": "0.1.0",
            "types": ""
        }
    }
}
#### Client configuration

Browser: Firefox 49

Operating system:

Logs

Web server error log
Any relevant message.
Server log (data/nextcloud.log)
Any relevant info..
##### Horde IMAP log (data/horde_imap.log)
Insert your horde IMAP log here, see https://github.com/nextcloud/mail#debug-mode
##### Horde SMTP log (data/horde_smtp.log)
Insert your horde SMTP log here, see https://github.com/nextcloud/mail#debug-mode
##### Browser log
Insert your browser log here, this could for example include:

a) The javascript console log: Any message
b) The network log: Any relevant
c) ...

Add files from Nextcloud as link [$15]

As we previously talked about, it would be useful to be able to put shared links of files from your Nextcloud directly in your email.

This makes sending mails faster cause attachments don't need to be uploaded. And your files don't leave your server.
When choosing files from your Nextcloud, there could be a split button with the choice of either »Attach« or »Add as shared link«.


Did you fix this issue? Go claim the $15 bounty on Bountysource.

Problems with character encoding conversion on Alpine Linux

Steps to reproduce

  1. Select an email

Expected behaviour

Email should be displayed in de display pane

Actual behaviour

Email is not shown

Mail app

Mail app version: 0.5.3

Mailserver or service: Dovecot with Postfix

Transport security - IMAP: STARTTLS

Transport security - SMTP: STARTTLS

Number of accounts: 1

Mail app version build date: (only if you are using a Nightly Build)

Server configuration

Operating system: Docker container with Alpine Linux

Web server: Nginx

Database: mariadb

PHP version: 7.0.10

Version: 10.0

**Updated from an older version or fresh install: Updated

List of activated apps:

Enabled:
  - activity: 2.3.2
  - admin_audit: 1.0.0
  - calendar: 1.4.0
  - comments: 1.0.0
  - contacts: 1.4.0.0
  - dav: 1.0.0
  - federatedfilesharing: 1.0.1
  - federation: 1.0.1
  - files: 1.5.2
  - files_accesscontrol: 1.1.2
  - files_automatedtagging: 1.1.1
  - files_pdfviewer: 0.8.1
  - files_sharing: 1.0.0
  - files_texteditor: 2.1
  - files_trashbin: 1.0.0
  - files_versions: 1.3.0
  - files_videoplayer: 0.9.8
  - firstrunwizard: 1.1
  - gallery: 15.0.0
  - mail: 0.5.3
  - notifications: 0.3.0
  - password_policy: 1.0.0
  - provisioning_api: 1.0.0
  - serverinfo: 1.1.1
  - survey_client: 0.1.5
  - systemtags: 1.0.2
  - templateeditor: 0.1
  - theming: 1.0.1
  - updatenotification: 1.0.1
  - user_external: 0.4
  - workflowengine: 1.0.1
Disabled:
  - encryption
  - external
  - files_external
  - files_retention
  - user_ldap
  - user_saml

The content of config/config.php:

{
    "system": {
        "apps_paths": [
            {
                "path": "\/usr\/share\/nginx\/nextcloud\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/data\/nextcloud\/apps",
                "url": "\/ownapps",
                "writable": true
            }
        ],
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "nextcloud.pavlotzky.nl"
        ],
        "datadirectory": "\/data\/nextcloud\/data",
        "overwrite.cli.url": "http:\/\/localhost",
        "dbtype": "mysql",
        "version": "9.1.0.16",
        "dbname": "nextcloud",
        "dbhost": "mariadb",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "UTC",
        "installed": true,
        "instanceid": "ocpmn05ip3ed",
        "loglevel": 2,
        "maintenance": false,
        "updater.release.channel": "stable",
        "mail_from_address": "nextcloud",
        "mail_smtpmode": "php",
        "mail_domain": "pavlotzky.nl"
    }
}
#### Client configuration

Browser: Google Chrome

Operating system: MacOS Sierra

Logs

Web server error log
Insert your webserver log here
Server log (data/nextcloud.log)
Error   PHP iconv(): Wrong charset, conversion from `utf-8' to `utf-8//IGNORE' is not allowed at /data/nextcloud/apps/mail/lib/model/imapmessage.php#613
##### Horde IMAP log (data/horde_imap.log)
Insert your horde IMAP log here, see https://github.com/nextcloud/mail#debug-mode
##### Horde SMTP log (data/horde_smtp.log)
Insert your horde SMTP log here, see https://github.com/nextcloud/mail#debug-mode
##### Browser log
Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log 
c) ...

Replace loading-view with error-view if the content can not be loaded

Currently we show an ugly yellow notification on the top of the page whenever an error occurs while loading a view's content, e.g. loading the list of messages or the message body.

Instead, I'd like to try using something similar to the "No search result" or "No messages in this folder" view: replacing the loading view with an "An error occured while xxx" or "Could not load xxx" view and get rid of the yellow notifications.

We could even go one step further and put a "Retry" button on that view, where the user can re-trigger loading the content. I think that would be nice UI and UX-wise.

@nextcloud/designers @nextcloud/mail @jancborchardt @MariusBluem let me know what you think :-)

Archiving messages

Messages should be archivable by simple clicks:

  • This means that the message(s) should be moved to e.g. Archives/YYYY/MM, Archives/YYYY or Archives/YYYY-MM depending on how the user configures it
  • Moving in one folder only may make it one day extremely large and a fast pre-selection of messages is not possible (e.g. you know the message came August, 2016, then choose Archives/2016/08/ and start searching there)

Splitted from #15

Missing signatures for some files

Is it possible that there are some code signatures missing in the mail app?

Steps to reproduce

  1. update the mail app
  2. look at the security and setup warnigs on the admin page

Expected behaviour

There should be no issues with code signatures.

Actual behaviour

screenshot_20161011_202622

Side note: at first I did not see an update button for the mail app in the apps overview so that I downloaded the tar archive and extracted it. Then there was an update button for the mail app and I clicked on it. After that the upgrade assistant did the upgrade in nextcloud (the "web version" of occ). As the update was finished the warning in the picture above appeared ("errors in the code integrity check occured"). I tried to fix it by extracting the tar archive again but it didn't help.

Mail app

Mail app version: 0.6.0

Server configuration

Operating system: Debian 8 (jessie)

Web server: Apache 2.4.10

Database: MariaDB 10.0.27

PHP version: 5.6.26

Version: Nextcloud 10.0.1

Updated from an older version or fresh install: updated from Nextcloud 10 (which again is migrated from Nextcloud 9 and Owncloud)

Filtering of Incoming messages

for organizing message it would be very useful to incorporate a filtering mechanism, based on different conditions e.g. specific account, specific sender, Subject, etc., which will be applied to all incoming messages!

regards, hitam4450

Todo

  • Basic sieve support #4472
  • Editor with syntax highlighting
  • UI that can build rules

There is a $800 open bounty on this issue. Add to the bounty at Bountysource.

badge


There is a $800 open bounty on this issue. Add to the bounty at Bountysource.

No mail shows up for one account

Steps to reproduce

  1. Add a mail account from my ISP (http://www.free.fr/assistance/2513.html)
  2. Successfully created it

I have other accounts and they work great.

Expected behaviour

I should see the list of email in the inbox

Actual behaviour

The message "No messages in this folder" shows up instead of the list of emails.

Mail app

Mail app version: (see apps admin page)

Mailserver or service: Free.fr, french ISP (http://www.free.fr/assistance/2513.html)

Transport security - IMAP: SSL

Transport security - SMTP: SSL

Number of accounts: 3

Server configuration

I am hosted by Indie Hosters so I do not have a lot of information about the servers.

Version: 10.0

Client configuration

Browser: Firefox

Operating system: Windows and Linux

Logs

Browser log

JS log:

JQMIGRATE: Migrate is installed, version 1.4.0

Network log:

GET /index.php/apps/mail/accounts/97/folders/SU5CT1g%3D/messages?from=0&to=20&filter= HTTP/1.1
Host: cloud.indie.host
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0
Accept: */*
Accept-Language: fr-FR,fr;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate, br
requesttoken: HgcedR5TEzheHyYHPCYGTjgFHiMRAwodNn1AWxYCIXI=:zkL8hbkl6Roovvp4VRHAbPclgK3ouZkKS76gXgfkAHs=
OCS-APIREQUEST: true
X-Requested-With: XMLHttpRequest
Cookie: nc_sameSiteCookielax=true; nc_sameSiteCookiestrict=true; ocgrd6wpkg2l=6b55c24da16b0121c54d9413808021e3; oc_sessionPassphrase=PNHYVp2fVSYA%2F2YBobsXKwOleyXa0eEJsUl3s2rbwFqecum6YSTHwUxCbI0bT6QVBSKpzIuDvG3oNxM1W0S3LTGLvNs6%2FVeQ9dQ2w5KFWfi%2Ft9m%2Bjv1IeNYJqKSiFoBl; SERVERID=Server
DNT: 1
Connection: keep-alive

HTTP/1.1 200 OK
Server: nginx/1.11.4
Date: Sun, 02 Oct 2016 15:24:02 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 2
Connection: close
X-Powered-By: PHP/5.6.25
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Pragma: no-cache
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
X-Frame-Options: Sameorigin
X-Robots-Tag: none
x-download-options: noopen
X-Permitted-Cross-Domain-Policies: none
Cache-Control: no-cache, must-revalidate
Content-Security-Policy: default-src 'none';script-src 'self' 'unsafe-eval';style-src 'self' 'unsafe-inline';img-src 'self' data: blob:;font-src 'self';connect-src 'self';media-src 'self'
strict-transport-security: max-age=15768000

[]

New message button does nothing

In the console there’s only

[ui] "document:click" [n.Event]

Nothing at all happens. Nothing in the log otherwise.

Chrome, latest master

Settingspage not loaded if authentication failed

Steps to reproduce

  1. change settings to not valid once (example change sslMode)
  2. save changes in DB or late with #132
  3. reload page

Expected behaviour

The Settingspage tells me that it doesn't work, but i am able to change settings.

Actual behaviour

Spinner appears and nothing happens.

Mail app

Mail app version: git branch issue_16_editAccountSettings, but i guess its in the current master

Mailserver or service: own

Transport security - IMAP: (None, SSL, TLS, STARTTLS)

Transport security - SMTP: (None, SSL, TLS, STARTTLS)

Number of accounts: 1

Mail app version build date: my branch

Server configuration

Operating system: Debian

Web server: Nginx

Database: sqlite

PHP version: 7

Version: current git

Updated from an older version or fresh install: fresh

List of activated apps: mail, files

If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your server installation folder
{"reqId":"uIfvXXyPa3dVZUvguhh8","remoteAddr":"192.168.56.1","app":"index","message":"Exception: {\"Exception\":\"Horde_Imap_Client_Exception\",\"Message\":\"No supported IMAP authentication method could be found.\",\"Code\":101,\"Trace\":\"#0 \\/media\\/sf_nextcloud\\/mail\\/vendor\\/pear-pear.horde.org\\/Horde_Imap_Client\\/Horde\\/Imap\\/Client\\/Base.php(831): Horde_Imap_Client_Socket->_login(**\* sensitive parameters replaced **_)\n#1 \\/media\\/sf_nextcloud\\/mail\\/lib\\/Account.php(166): Horde_Imap_Client_Base->login(**_ sensitive parameters replaced ***)\n#2 \\/media\\/sf_nextcloud\\/mail\\/lib\\/Account.php(299): OCA\\Mail\\Account->getImapConnection()\n#3 \\/media\\/sf_nextcloud\\/mail\\/lib\\/Account.php(345): OCA\\Mail\\Account->listMailboxes()\n#4 \\/media\\/sf_nextcloud\\/mail\\/lib\\/Account.php(358): OCA\\Mail\\Account->getMailboxes()\n#5 \\/media\\/sf_nextcloud\\/mail\\/lib\\/Controller\\/FoldersController.php(62): OCA\\Mail\\Account->jsonSerialize()\n#6 [internal function]: OCA\\Mail\\Controller\\FoldersController->index(2)\n#7 \\/media\\/sf_nextcloud\\/server\\/lib\\/private\\/AppFramework\\/Http\\/Dispatcher.php(160): call_user_func_array(Array, Array)\n#8 \\/media\\/sf_nextcloud\\/server\\/lib\\/private\\/AppFramework\\/Http\\/Dispatcher.php(90): OC\\AppFramework\\Http\\Dispatcher->executeController(Object(OCA\\Mail\\Controller\\FoldersController), 'index')\n#9 \\/media\\/sf_nextcloud\\/server\\/lib\\/private\\/AppFramework\\/App.php(114): OC\\AppFramework\\Http\\Dispatcher->dispatch(Object(OCA\\Mail\\Controller\\FoldersController), 'index')\n#10 \\/media\\/sf_nextcloud\\/server\\/lib\\/private\\/AppFramework\\/Routing\\/RouteActionHandler.php(47): OC\\AppFramework\\App::main('FoldersControll...', 'index', Object(OC\\AppFramework\\DependencyInjection\\DIContainer), Array)\n#11 [internal function]: OC\\AppFramework\\Routing\\RouteActionHandler->__invoke(Array)\n#12 \\/media\\/sf_nextcloud\\/server\\/lib\\/private\\/Route\\/Router.php(298): call_user_func(Object(OC\\AppFramework\\Routing\\RouteActionHandler), Array)\n#13 \\/media\\/sf_nextcloud\\/server\\/lib\\/base.php(994): OC\\Route\\Router->match('\\/apps\\/mail\\/acco...')\n#14 \\/media\\/sf_nextcloud\\/server\\/index.php(40): OC::handleRequest()\n#15 {main}\",\"File\":\"\\/media\\/sf_nextcloud\\/mail\\/vendor\\/pear-pear.horde.org\\/Horde_Imap_Client\\/Horde\\/Imap\\/Client\\/Socket.php\",\"Line\":497}","level":3,"time":"2016-10-14T13:03:02+00:00","method":"GET","url":"\/index.php\/apps\/mail\/accounts\/2\/folders","user":"root","version":"9.2.0.4"}

Message list wheel event delayed sometimes

Handling of 'wheel' input event was delayed for 106 ms due to main thread being busy. Consider marking event handler as 'passive' to make the page more responive. while scrolling in the unified inbox with Chromium. Not sure yet where that comes from, but we might want to fix that.

Tagging

Tagging messages as known from Thunderbird and many other mailer should be implemented. This allows easier handling of your messages. The user should be able to create additional "labels" or "tags" such as (but not limited).

Todo (must)

  • Read tags from IMAP and store them into our database #4665
  • Switch $important imap label to a $label1 tag just like Thunderbird -> interoperability #4665
  • Add a one-time async background job that migrates old IMAP data from $important to $label1 on IMAP (changes will automagically flow into our cache at the next sync)
  • Add a one-time async background job that pushes the local flag_important to IMAP (as $label1) for those server that support it, but also populate the tags table for all others
  • Handle reading a new message with no $label1 on IMAP but a local label in the database -> this happens when permflags are not supported but the account was known before
  • #4805 Display tags in the UI (assigned through Thunderbird)
  • #4807 Allow user to assign default and custom tags
  • #4806 Let the user configure additional tags (with label + color)

Todo (optionall follow-up, should possibly become a ticket when this one is closed)

  • Add quick filtering for tags

High-level forward thinking of what we want the Mail app to be

Right now the Mail app is an ok IMAP client. It has some nice integration with other Nextcloud apps, pretty standard stuff.

Now how can we make that even better and even simpler? Just some brainstorming, also partially things which have been mentioned in other issues, but here as a more coherent combination. Please don’t take this as a bashing – I’m a contributor and this is just me trying to take a step back and check what a person would expect. :)

  • Favorites are a separate folder right now. It seems like an afterthought. Sure, other mail apps do the same, but shouldn’t we try to innovate here? Sorting the favorites of a specific view (say, the inbox) up top of that view would be nice for example so you are reminded to deal with them. It’s a way of »pinning« conversations.
  • ✈️ Sent emails are a separate folder too. Of course this is because every other email app does it like this … but almost no other communication system like SMS, Facebook, Whatsapp, Slack, IRC, etc does it like this. It’s all one stream. Here #17 (conversations) comes in of course.
  • 📄 Reading is a bit bland and also overwhelming. Title at the top, but names without avatars (we definitely need to add those). But then there’s big useless parts like the long previous replies, signatures and mailing list footers which are really not something I want to ever see.
  • 📝 Writing an email currently feels a bit basic. There’s the whole stuff from the previous mail which is just dumped there, the typeface is small, there are many boxes, there are no faces of people. We need to enhance this a bit.
  • Focus can be increased by doing something we have thought about for other apps (like Calendar and Maps) for some time now: Hiding the left navigation bar by default even in desktop view, making it expandable via the menu icon. I at least spend most of my time in the unified inbox and mostly go to the other folders to delete things or check on sent mails (see issue above).
  • 💥 Stability sometimes varies. Right now and the last few weeks I had many small issues like mails not loading at all, send button not working, the reply to/cc being filled out wrongly and especially server errors in the unified inbox. It’s all things which we absolutely need to get right and which always have priority over new features.
  • ❓ Probably more … ?

@nextcloud/mail what do you think? The conference would be a good place to talk about how we can focus on the essentials and make sure that’s the absolute center of the app. :) And then polish it reeeally good.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Grouping of message threads (threading/conversations) [$320]

Similar as in Gmail, Apple Mail for iOS, or Facebook private messages or what have you. Read messages in that thread should be compressed & expandable (also like in Gmail and iOS Mail), and inside the thread the sorting should go recent messages on the bottom (because of reading direction, and that’s how comment threads work).

There should be no indentation or crap like that, just timestamp-based sorting. In the future every individual message in the thread could show a »Reply« button on hover to reply to that specific message. But for now I’d just keep it simple like a one-stream comment thread.

For reference:


There is a $220 open bounty on this issue. Add to the bounty at Bountysource.

badge


There is a $220 open bounty on this issue. Add to the bounty at Bountysource.

Server error on sending from unified inbox [$15 awarded]

Nothing in the server or Nextcloud log. JS console:

jquery.js:8630 POST http://localhorst/nextcloud/index.php/apps/mail/accounts/1/send 500 (Internal Server Error)
Type: Horde_Imap_Client_Exception
Code: 200
Message: Could not open mailbox "all-inboxes".
File: /home/jan/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Imap_Client/Horde/Imap/Client/Socket.php
Line: 1239

Trace

#0 /home/jan/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Imap_Client/Horde/Imap/Client/Base.php(1044): Horde_Imap_Client_Socket->_openMailbox(Object(Horde_Imap_Client_Mailbox), 1)
#1 /home/jan/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Imap_Client/Horde/Imap/Client/Base.php(2504): Horde_Imap_Client_Base->openMailbox(Object(Horde_Imap_Client_Mailbox), 1)
#2 /home/jan/nextcloud/apps/mail/vendor/pear-pear.horde.org/Horde_Imap_Client/Horde/Imap/Client/Base.php(2471): Horde_Imap_Client_Base->_fetchWrapper(Object(Horde_Imap_Client_Mailbox), Object(Horde_Imap_Client_Fetch_Query), Array)
#3 /home/jan/nextcloud/apps/mail/lib/model/imapmessage.php(363): Horde_Imap_Client_Base->fetch(Object(Horde_Imap_Client_Mailbox), Object(Horde_Imap_Client_Fetch_Query), Array)
#4 /home/jan/nextcloud/apps/mail/lib/model/imapmessage.php(74): OCA\Mail\Model\IMAPMessage->loadMessageBodies()
#5 /home/jan/nextcloud/apps/mail/lib/mailbox.php(196): OCA\Mail\Model\IMAPMessage->__construct(Object(Horde_Imap_Client_Socket), Object(Horde_Imap_Client_Mailbox), 'WzEsMTU3ODdd', NULL, false)
#6 /home/jan/nextcloud/apps/mail/lib/controller/accountscontroller.php(291): OCA\Mail\Mailbox->getMessage('WzEsMTU3ODdd')
#7 [internal function]: OCA\Mail\Controller\AccountsController->send(1, 'YWxsLWluYm94ZXM...', NULL, 'Messagetext bla...', '"Name bla...', '', '', 3791, 'WzEsMTU3ODdd', NULL, '')
#8 /home/jan/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(160): call_user_func_array(Array, Array)
#9 /home/jan/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(90): OC\AppFramework\Http\Dispatcher->executeController(Object(OCA\Mail\Controller\AccountsController), 'send')
#10 /home/jan/nextcloud/lib/private/AppFramework/App.php(117): OC\AppFramework\Http\Dispatcher->dispatch(Object(OCA\Mail\Controller\AccountsController), 'send')
#11 /home/jan/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php(47): OC\AppFramework\App::main('OCA\\Mail\\Contro...', 'send', Object(OC\AppFramework\DependencyInjection\DIContainer), Array)
#12 [internal function]: OC\AppFramework\Routing\RouteActionHandler->__invoke(Array)
#13 /home/jan/nextcloud/lib/private/Route/Router.php(298): call_user_func(Object(OC\AppFramework\Routing\RouteActionHandler), Array)
#14 /home/jan/nextcloud/lib/base.php(969): OC\Route\Router->match('/apps/mail/acco...')
#15 /home/jan/nextcloud/index.php(48): OC::handleRequest()
#16 {main}

The $15 bounty on this issue has been claimed at Bountysource.

Scrolling down on message list sometimes triggers refreshing

Steps to reproduce:

  1. load app
  2. wait until everything has finished loading
  3. hit 'r' to trigger a reload
  4. scroll down (slowly)
  5. a refresh event is triggered again

I suspect the scroll logic to confuse scrolling down with scroll-to-refresh.

diff --git a/js/views/messagesview.js b/js/views/messagesview.js
index a1ac3b1..b51494e 100644
--- a/js/views/messagesview.js
+++ b/js/views/messagesview.js
@@ -20,6 +20,7 @@
 define(function(require) {
    'use strict';

+   var _ = require('underscore');
    var $ = require('jquery');
    var Backbone = require('backbone');
    var Handlebars = require('handlebars');
@@ -39,8 +40,9 @@ define(function(require) {
        searchQuery: null,
        loadingMore: false,
        reloaded: false,
+       lastScrollPos: undefined,
        events: {
-           'wheel': 'onScroll',
+           'wheel': 'onWheel'
        },
        initialize: function(options) {
            this.searchQuery = options.searchQuery;
@@ -169,26 +171,32 @@ define(function(require) {
            this.loadMessages(false);
        },
        onScroll: function() {
+           var scrollPos = this.$scrollContainer.scrollTop();
            if (this.reloaded) {
                this.reloaded = false;
+               this.lastScrollPos = scrollPos;
                return;
            }
            if (this.loadingMore === true) {
                // Ignore events until loading has finished
+               this.lastScrollPos = scrollPos;
                return;
            }
-           if (this.$scrollContainer.scrollTop() === 0) {
+           if (this.$scrollContainer.scrollTop() === 0 && this.lastScrollPos !== 0) {
                // Scrolled to top -> refresh
                this.loadingMore = true;
                this.loadMessages(true);
+               this.lastScrollPos = scrollPos;
                return;
            }
            if ((this.$scrollContainer.scrollTop() + this.$scrollContainer.height()) > (this.$el.height() - 150)) {
                // Scrolled all the way down -> load more
                this.loadingMore = true;
                this.loadMessages(false);
+               this.lastScrollPos = scrollPos;
                return;
            }
+           this.lastScrollPos = scrollPos;
        },
        filterCurrentMailbox: function(query) {
            this.filterCriteria = {

The patch above kind of fixex the problem, but removes the refreshing if one is already at the top, but continues scrolling.

I'm afraid there is no solution at the momment, since we only get the scroll position and not the scroll direction. If the last scroll position was 0 and the current one is 0 too, then we would assume that the user tries to refresh by scrolling up. However, the scroll event is also triggered when scrolling down and can be triggered for the same position multiple times. Therefore we also get a sequence of 0-0 and misinterpret the gesture.

Error while loading messages again

Tried to solve the issue but no success

  • Though the symptoms are similar to #50 I think it is different since in the horde log the request seems fine - ie. 20 mails are recieved.
  • I tried resetting the account according to the README.md (deleted the tables and entries)
  • The same two directories are not available after reset as before (INBOX (tranlated to Posteingang) and Lindyhop)
  • restarting dovecot(on the same server) and httpd
  • how do I install the nextcloud version is it any different from the owncloud version?

Steps to reproduce

  1. Configure imap account
  2. got to mail
  3. click on inbox
  4. no messages but instead a small notification on to "messages could not be loaded"

Expected behaviour

See all the messages and be able to answer and read them.

Actual behaviour

The app fails on certain folders to load the messages.

Mail app

Mail app version: (see apps admin page)
Mail 0.5.3

Mailserver or service: (e.g. Outlook, Yahoo, Gmail, Exchange,...)
dovecot (selfhosted) Thunderbird works well on those directories

Transport security - IMAP: (None, SSL, TLS, STARTTLS)
imap SSL/TLS

Transport security - SMTP: (None, SSL, TLS, STARTTLS)
not important
Number of accounts:
1
Mail app version build date: (only if you are using a Nightly Build)

Server configuration

Operating system:
Fedora 23
Web server:
Apache
Database:
mariadb
PHP version:
PHP 7.0.10
Version: (see admin page)
Nextcloud 10.0 RC1 (stable)
Updated from an older version or fresh install:
updated

List of activated apps:

Enabled:
  - activity: 2.3.2
  - admin_audit: 1.0.0
  - calendar: 1.3.3
  - comments: 1.0.0
  - contacts: 1.4.0.0
  - dav: 1.0.0
  - federatedfilesharing: 1.0.1
  - federation: 1.0.1
  - files: 1.5.2
  - files_pdfviewer: 0.8.1
  - files_sharing: 1.0.0
  - files_texteditor: 2.1
  - files_trashbin: 1.0.0
  - files_versions: 1.3.0
  - gallery: 15.0.0
  - mail: 0.5.3
  - news: 9.0.4
  - notifications: 0.3.0
  - password_policy: 1.0.0
  - provisioning_api: 1.0.0
  - serverinfo: 1.1.1
  - survey_client: 0.1.5
  - systemtags: 1.0.1
  - tasks: true
  - templateeditor: 0.1
  - theming: 1.0.1
  - updatenotification: 1.0.1
  - workflowengine: 1.0.0
Disabled:
  - encryption
  - external
  - files_accesscontrol
  - files_automatedtagging
  - files_external
  - files_retention
  - files_videoplayer
  - firstrunwizard
  - user_external
  - user_ldap
  - user_saml

The content of config/config.php:

{
    "system": {
        "instanceid": "oc4p9uo912ib",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "teilgedanken.de"
        ],
        "datadirectory": "\/var\/nextcloud\/data",
        "overwrite.cli.url": "https:\/\/teilgedanken.de\/nc",
        "htaccess.RewriteBase": "\/nc",
        "dbtype": "mysql",
        "version": "9.1.0.15",
        "dbname": "clouddb",
        "dbhost": "localhost",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "UTC",
        "installed": true,
        "appstore.experimental.enabled": true,
        "memcache.local": "\\OC\\Memcache\\APC",
        "loglevel": 0,
        "mail_smtpmode": "smtp",
        "mail_smtpsecure": "ssl",
        "mail_smtpauth": 1,
        "mail_smtphost": "wp269.webpack.hosteurope.de",
        "mail_smtpport": "465",
        "mail_from_address": "dietrich",
        "mail_domain": "teilgedanken.de",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "maintenance": false,
        "updater.release.channel": "beta",
        "log_type": "owncloud",
        "customclient_android": "https:\/\/f-droid.org\/repository\/browse\/?fdid=com.nextcloud.client"
    }
}
#### Client configuration

Browser:
Firefox

Operating system:
Fedora 24

Logs

Web server error log
Insert your webserver log here
Server log (data/nextcloud.log)
{"reqId":"V9FEvcoTXiFurT8OSe@pSgAAAAE","remoteAddr":"2a02:8071:b180:7f00:221:5cff:fe51:3da5","app":"index","message":"Exception: {\"Exception\":\"TypeError\",\"Message\":\"Argument 1 passed to OCA\\\\Mail\\\\Model\\\\IMAPMessage::hordeToAssoc() must be an instance of Horde_Mail_Rfc822_Address, instance of Horde_Mail_Rfc822_Group given, called in \\\/var\\\/www\\\/deployed.teilgedanken\\\/nc\\\/apps\\\/mail\\\/lib\\\/model\\\/convertaddresses.php on line 73\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/deployed.teilgedanken\\\/nc\\\/apps\\\/mail\\\/lib\\\/model\\\/convertaddresses.php(73): OCA\\\\Mail\\\\Model\\\\IMAPMessage->hordeToAssoc(Object(Horde_Mail_Rfc822_Group))\\n#1 \\\/var\\\/www\\\/deployed.teilgedanken\\\/nc\\\/apps\\\/mail\\\/lib\\\/model\\\/imapmessage.php(240): OCA\\\\Mail\\\\Model\\\\IMAPMessage->convertAddressList(Object(Horde_Mail_Rfc822_List))\\n#2 \\\/var\\\/www\\\/deployed.teilgedanken\\\/nc\\\/apps\\\/mail\\\/lib\\\/model\\\/imapmessage.php(509): OCA\\\\Mail\\\\Model\\\\IMAPMessage->getToList(true)\\n#3 \\\/var\\\/www\\\/deployed.teilgedanken\\\/nc\\\/apps\\\/mail\\\/lib\\\/mailbox.php(171): OCA\\\\Mail\\\\Model\\\\IMAPMessage->getListArray()\\n#4 \\\/var\\\/www\\\/deployed.teilgedanken\\\/nc\\\/apps\\\/mail\\\/lib\\\/controller\\\/messagescontroller.php(133): OCA\\\\Mail\\\\Mailbox->getMessages(0, 21, NULL)\\n#5 [internal function]: OCA\\\\Mail\\\\Controller\\\\MessagesController->index(2, 'SU5CT1g=', 0, 20, NULL, NULL)\\n#6 \\\/var\\\/www\\\/deployed.teilgedanken\\\/nc\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(160): call_user_func_array(Array, Array)\\n#7 \\\/var\\\/www\\\/deployed.teilgedanken\\\/nc\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(90): OC\\\\AppFramework\\\\Http\\\\Dispatcher->executeController(Object(OCA\\\\Mail\\\\Controller\\\\MessagesController), 'index')\\n#8 \\\/var\\\/www\\\/deployed.teilgedanken\\\/nc\\\/lib\\\/private\\\/AppFramework\\\/App.php(111): OC\\\\AppFramework\\\\Http\\\\Dispatcher->dispatch(Object(OCA\\\\Mail\\\\Controller\\\\MessagesController), 'index')\\n#9 \\\/var\\\/www\\\/deployed.teilgedanken\\\/nc\\\/lib\\\/private\\\/AppFramework\\\/Routing\\\/RouteActionHandler.php(47): OC\\\\AppFramework\\\\App::main('OCA\\\\\\\\Mail\\\\\\\\Contro...', 'index', Object(OC\\\\AppFramework\\\\DependencyInjection\\\\DIContainer), Array)\\n#10 [internal function]: OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler->__invoke(Array)\\n#11 \\\/var\\\/www\\\/deployed.teilgedanken\\\/nc\\\/lib\\\/private\\\/Route\\\/Router.php(293): call_user_func(Object(OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler), Array)\\n#12 \\\/var\\\/www\\\/deployed.teilgedanken\\\/nc\\\/lib\\\/base.php(967): OC\\\\Route\\\\Router->match('\\\/apps\\\/mail\\\/acco...')\\n#13 \\\/var\\\/www\\\/deployed.teilgedanken\\\/nc\\\/index.php(48): OC::handleRequest()\\n#14 {main}\",\"File\":\"\\\/var\\\/www\\\/deployed.teilgedanken\\\/nc\\\/apps\\\/mail\\\/lib\\\/model\\\/convertaddresses.php\",\"Line\":33}","level":3,"time":"2016-09-08T11:00:16+00:00","method":"GET","url":"\/nc\/apps\/mail\/accounts\/2\/folders\/SU5CT1g%3D\/messages","user":"enaut"}
##### Horde IMAP log (data/horde_imap.log)
------------------------------
>> Thu, 08 Sep 2016 11:00:15 +0000
>> Connection to: imap://mx0.teilgedanken.de:993/
>> Server connection took 0.0754 seconds.
S: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN] Dovecot ready.
C: 1 AUTHENTICATE PLAIN [INITIAL CLIENT RESPONSE (username: solilith)]
S: 1 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SPECIAL-USE] Logged in
>> Command 1 took 0.2178 seconds.
C: 2 EXAMINE INBOX
S: * FLAGS (\Answered \Flagged \Deleted \Seen \Draft $Forwarded NonJunk Junk)
S: * OK [PERMANENTFLAGS ()] Read-only mailbox.
S: * 992 EXISTS
S: * 0 RECENT
S: * OK [UIDVALIDITY 1428757386] UIDs valid
S: * OK [UIDNEXT 1528] Predicted next UID
S: * OK [HIGHESTMODSEQ 7035] Highest
S: 2 OK [READ-ONLY] Examine completed (0.000 + 0.000 secs).
>> Command 2 took 0.0035 seconds.
C: 3 UID SORT RETURN (ALL COUNT) (DATE) US-ASCII UNDELETED
S: * ESEARCH (TAG "3") UID ALL 582,855,446:448,450:460,466,470,476:477,485:489,492:493,499,504,503,507,522,516:517,519,525:526,539,544:545,552:553,321,346,335,555,347:348,362,364,556:557,374,560,562,377,388,392:393,563,567,566,565,408,415,568,417,424,440,569,443,461:464,570,465,467,571,468:469,471,572,576,472,577:578,473,579:580,480,581,481:482,583,483,586,584,592,591,484,590,490,494:495,497:498,502,506,508:510,515,518,520,529,521,523:524,528,530:532,535:537,540:543,546,607:608,547:548,609,549,610,550,603,611,604,612:614,606,616:617,619:624,630,632:636,639,638,640,642:655,659,657,661:662,664,663,665:675,677:684,686:691,1:10,694,693,697,11:16,20,26,25,27:28,701,30:31,64,88:93,702:703,142,145,704,148,150:151,153,155,706:708,710:711,713,716,164,174,718,175:176,721,178,722,181:182,724:725,183,726,728,193:196,198,200:204,206:209,211:212,222:223,231:233,735:738,250,739:741,252:254,258:261,289:307,310,308:309,311,313,312,314:317,757,784,786:788,790:803,825,804:806,808:820,823:824,821:822,826:850,861,851:853,862:863,854,860,857,864:867,876,868:870,875,874,871,877:878,872:873,879,881:900,902:904,906:913,916:928,930:943,945,947:958,960:961,963:979,981:983,986,988:993,995,997:1001,1003,1005:1009,1012:1024,1027:1029,1031:1032,1044,1033:1043,1045:1049,1051:1064,1066:1070,1074:1081,1083:1084,1086:1100,1102,1104:1106,1116:1119,1107:1111,1120:1124,1115,1125:1131,1134:1139,1141:1142,1146:1148,1150:1152,1154,1156,1159,1161:1165,1169:1183,1185:1187,1189:1199,1213,1212,1201:1202,1214:1233,1236:1244,1246,1245,1247,1249:1261,1268,1262:1263,1265,1267,1266,1269:1280,1282:1285,1288:1292,1294:1296,1298,1297,1299:1305,1307,1306,1308:1310,1312:1316,1319,1321,1320,1322:1332,1352,1333:1351,1354:1355,1357:1387,1389:1450,1452:1463,1467:1478,1480:1519,1521,1523:1525 COUNT 992
S: 3 OK Sort completed (0.023 + 0.000 + 0.022 secs).
>> Command 3 took 0.0265 seconds.
C: 4 UID FETCH 1503:1519,1521,1523:1525 (ENVELOPE FLAGS RFC822.SIZE INTERNALDATE BODYSTRUCTURE BODY.PEEK[HEADER.FIELDS (IMPORTANCE LIST-POST X-PRIORITY CONTENT-TYPE)])
********************
***Personal stuff I won't post here***
********************
S: 4 OK Fetch completed (0.004 + 0.000 + 0.003 secs).
>> Command 4 took 0.2259 seconds.
C: 5 LOGOUT
S: * BYE Logging out
S: 5 OK Logout completed (0.000 + 0.000 secs).
>> Command 5 took 0.0043 seconds.
##### Browser log
Javascript log:
Content Security Policy: Die Direktive 'frame-src'  sollte nicht mehr verwendet werden. Bitte verwenden Sie stattdessen die Direktive 'child-src'.(unbekannt)
Content Security Policy: Die Einstellungen der Seite haben das Laden einer Ressource auf self blockiert ("script-src https://teilgedanken.de 'unsafe-eval'").mail:1
JQMIGRATE: Migrate is installed, version 1.4.0jquery-migrate.min.js:2:542
Content Security Policy: Die Einstellungen der Seite haben das Laden einer Ressource auf self blockiert ("script-src https://teilgedanken.de").html:1

Contact Images are not shown, after Updating NC Core to 10.0.1

Steps to reproduce

  1. Do a full NC Update to 10.0.1
    2.
    3.

Expected behaviour

Mail should work just as in 10.0.0

Actual behaviour

Every non-generic Contact Image is broken and not displayed.

bildschirmfoto vom 2016-10-02 23-00-48

Opening a contact Image in a new tab results in an url like this:
/remote.php/dav/addressbooks/users/Maulwurf/default/2de520f9-c0d2-41aa-bc60-5afdd9b60867.vcf?photo

However, Firefox tells me, that a network protocoll error has happenend, when trying to display that image (see image below)
bildschirmfoto vom 2016-10-02 22-59-162

Webserver and Apache log don't include anything from interest in this case. After install i tried an sudo chown -R www-data:www-data /var/www/nextcloud but the error remained

Mail app

Mail app version: (see apps admin page)
0.5.3
Mailserver or service: (e.g. Outlook, Yahoo, Gmail, Exchange,...)
several, including Gmail, Outlook, Icloud Mail and imap Accounts
Transport security - IMAP: (None, SSL, TLS, STARTTLS)
SSL
Transport security - SMTP: (None, SSL, TLS, STARTTLS)
STARTTLS
Number of accounts:
5
Mail app version build date: (only if you are using a Nightly Build)

Server configuration

Operating system:
Raspbian jessie
Web server:
Apache/2.4.10 (Raspbian)
Database:
5.5.52-0+deb8u1 - (Raspbian)
PHP version:

Version: (see admin page)
10.0.1
Updated from an older version or fresh install:
from 10.0.0
List of activated apps:

Enabled:
  - activity: 2.3.2
  - admin_audit: 1.0.0
  - audioplayer: 1.2.2
  - bookmarks: 0.9.0
  - calendar: 1.4.0
  - comments: 1.0.0
  - contacts: 1.4.0.0
  - dav: 1.0.1
  - direct_menu: 0.9.2
  - federatedfilesharing: 1.0.1
  - federation: 1.0.1
  - files: 1.5.2
  - files_accesscontrol: 1.1.2
  - files_automatedtagging: 1.1.1
  - files_pdfviewer: 0.8.1
  - files_retention: 1.0.0
  - files_sharing: 1.0.0
  - files_texteditor: 2.1
  - files_trashbin: 1.0.0
  - files_versions: 1.3.0
  - files_videoplayer: 0.9.8
  - firstrunwizard: 1.1
  - gallery: 15.0.0
  - logreader: 1.1.5
  - mail: 0.5.3
  - news: 9.0.4
  - notes: 2.0.2
  - notifications: 0.3.0
  - password_policy: 1.0.0
  - provisioning_api: 1.0.0
  - qownnotesapi: 16.09.0
  - serverinfo: 1.1.1
  - survey_client: 0.1.5
  - systemtags: 1.0.2
  - tasks: 0.9.3
  - templateeditor: 0.1
  - theming: 1.0.1
  - updatenotification: 1.0.1
  - workflowengine: 1.0.1
Disabled:
  - encryption
  - external
  - files_external
  - user_external
  - user_ldap
  - user_saml

The content of config/config.php:

{
    "system": {
        "instanceid": "octditpggqms",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "removed sensitive value",
            "removed because you know"
        ],
        "datadirectory": "\/data",
        "overwrite.cli.url": "http:\/\/192.168.0.16",
        "dbtype": "mysql",
        "version": "9.1.1.5",
        "dbname": "nextcloud",
        "dbhost": "localhost",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "UTC",
        "installed": true,
        "memcache.local": "\\OC\\Memcache\\APC",
        "mail_domain": "gmail.com",
        "mail_from_address": "lalalala",
        "mail_smtpdebug": "false",
        "mail_smtpmode": "smtp",
        "mail_smtphost": "smtp.gmail.com",
        "mail_smtpport": "587",
        "mail_smtptimeout": 10,
        "mail_smtpsecure": "tls",
        "mail_smtpauth": 1,
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "maintenance": false,
        "theme": "",
        "loglevel": 2,
        "appstore.experimental.enabled": true
    },
    "apps": {
        "activity": {
            "enabled": "yes",
            "installed_version": "2.3.2",
            "types": "filesystem"
        },
        "admin_audit": {
            "enabled": "yes",
            "installed_version": "1.0.0",
            "types": "logging"
        },
        "audioplayer": {
            "enabled": "yes",
            "installed_version": "1.2.2",
            "ocsid": "174738",
            "types": ""
        },
        "backgroundjob": {
            "lastjob": "1260"
        },
        "bookmarks": {
            "enabled": "yes",
            "installed_version": "0.9.0",
            "ocsid": "168710",
            "types": ""
        },
        "calendar": {
            "enabled": "yes",
            "installed_version": "1.4.0",
            "ocsid": "168707",
            "types": ""
        },
        "comments": {
            "enabled": "yes",
            "installed_version": "1.0.0",
            "types": "logging"
        },
        "contacts": {
            "enabled": "yes",
            "installed_version": "1.4.0.0",
            "ocsid": "168708",
            "types": ""
        },
        "core": {
            "backgroundjobs_mode": "cron",
            "installedat": "1471778855.4546",
            "lastcron": "1475442034",
            "lastupdateResult": "[]",
            "lastupdatedat": "1475441879",
            "oc.integritycheck.checker": "[]",
            "outgoing_server2server_share_enabled": "no",
            "public_documents": "documents\/public.php",
            "public_files": "files_sharing\/public.php",
            "public_webdav": "dav\/appinfo\/v1\/publicwebdav.php",
            "remote_caldav": "dav\/appinfo\/v1\/caldav.php",
            "remote_calendar": "dav\/appinfo\/v1\/caldav.php",
            "remote_carddav": "dav\/appinfo\/v1\/carddav.php",
            "remote_contacts": "dav\/appinfo\/v1\/carddav.php",
            "remote_dav": "dav\/appinfo\/v2\/remote.php",
            "remote_files": "dav\/appinfo\/v1\/webdav.php",
            "remote_webdav": "dav\/appinfo\/v1\/webdav.php",
            "repairlegacystoragesdone": "yes",
            "shareapi_allow_mail_notification": "no",
            "shareapi_allow_public_notification": "no",
            "shareapi_default_expire_date": "yes",
            "shareapi_exclude_groups": "no",
            "shareapi_exclude_groups_list": "[\"\"]",
            "shareapi_expire_after_n_days": "60",
            "shareapi_only_share_with_group_members": "yes",
            "vendor": "nextcloud"
        },
        "dav": {
            "enabled": "yes",
            "installed_version": "1.0.1",
            "types": "filesystem"
        },
        "direct_menu": {
            "enabled": "yes",
            "installed_version": "0.9.2",
            "ocsid": "169148",
            "types": ""
        },
        "documents": {
            "enabled": "no",
            "installed_version": "0.13.1",
            "ocsid": "168711",
            "types": ""
        },
        "federatedfilesharing": {
            "enabled": "yes",
            "installed_version": "1.0.1",
            "types": ""
        },
        "federation": {
            "enabled": "yes",
            "installed_version": "1.0.1",
            "types": "authentication"
        },
        "files": {
            "cronjob_scan_files": "500",
            "enabled": "yes",
            "installed_version": "1.5.2",
            "types": "filesystem"
        },
        "files_accesscontrol": {
            "enabled": "yes",
            "installed_version": "1.1.2",
            "types": "filesystem"
        },
        "files_automatedtagging": {
            "enabled": "yes",
            "installed_version": "1.1.1",
            "types": "filesystem"
        },
        "files_pdfviewer": {
            "enabled": "yes",
            "installed_version": "0.8.1",
            "ocsid": "166049",
            "types": ""
        },
        "files_retention": {
            "enabled": "yes",
            "installed_version": "1.0.0",
            "types": "filesystem"
        },
        "files_sharing": {
            "enabled": "yes",
            "installed_version": "1.0.0",
            "outgoing_server2server_share_enabled": "yes",
            "types": "filesystem"
        },
        "files_texteditor": {
            "enabled": "yes",
            "installed_version": "2.1",
            "ocsid": "166051",
            "types": ""
        },
        "files_trashbin": {
            "enabled": "yes",
            "installed_version": "1.0.0",
            "types": "filesystem"
        },
        "files_versions": {
            "enabled": "yes",
            "installed_version": "1.3.0",
            "types": "filesystem"
        },
        "files_videoplayer": {
            "enabled": "yes",
            "installed_version": "0.9.8",
            "types": ""
        },
        "firstrunwizard": {
            "enabled": "yes",
            "installed_version": "1.1",
            "ocsid": "166055",
            "types": ""
        },
        "gallery": {
            "enabled": "yes",
            "installed_version": "15.0.0",
            "types": ""
        },
        "logreader": {
            "enabled": "yes",
            "installed_version": "1.1.5",
            "ocsid": "170871",
            "types": ""
        },
        "mail": {
            "enabled": "yes",
            "installed_version": "0.5.3",
            "ocsid": "169914",
            "signed": "true",
            "types": ""
        },
        "news": {
            "enabled": "yes",
            "installed_version": "9.0.4",
            "ocsid": "168040",
            "types": ""
        },
        "notes": {
            "enabled": "yes",
            "installed_version": "2.0.2",
            "ocsid": "174554",
            "types": ""
        },
        "notifications": {
            "enabled": "yes",
            "installed_version": "0.3.0",
            "types": "logging"
        },
        "ownbackup": {
            "enabled": "no",
            "installed_version": "0",
            "ocsid": "170674",
            "types": ""
        },
        "ownnote": {
            "enabled": "no",
            "installed_version": "1.08",
            "ocsid": "168512",
            "types": ""
        },
        "password_policy": {
            "enabled": "yes",
            "installed_version": "1.0.0",
            "minLength": "8",
            "types": ""
        },
        "provisioning_api": {
            "enabled": "yes",
            "installed_version": "1.0.0",
            "types": "prevent_group_restriction"
        },
        "qownnotesapi": {
            "enabled": "yes",
            "installed_version": "16.09.0",
            "ocsid": "173817",
            "types": ""
        },
        "serverinfo": {
            "enabled": "yes",
            "installed_version": "1.1.1",
            "types": ""
        },
        "survey_client": {
            "apps": "yes",
            "database": "yes",
            "enabled": "yes",
            "encryption": "yes",
            "files_sharing": "yes",
            "installed_version": "0.1.5",
            "last_report": "{\"id\":\"octditpggqms\",\"items\":[[\"server\",\"version\",\"9.1.0.16\"],[\"server\",\"code\",\"other\"],[\"server\",\"enable_avatars\",\"yes\"],[\"server\",\"enable_previews\",\"yes\"],[\"server\",\"memcache.local\",\"\\\\OC\\\\Memcache\\\\APC\"],[\"server\",\"memcache.distributed\",\"none\"],[\"server\",\"asset-pipeline.enabled\",\"no\"],[\"server\",\"filelocking.enabled\",\"yes\"],[\"server\",\"memcache.locking\",\"none\"],[\"server\",\"debug\",\"no\"],[\"php\",\"version\",\"5.6.24\"],[\"php\",\"memory_limit\",-1],[\"php\",\"max_execution_time\",0],[\"php\",\"upload_max_filesize\",2097152],[\"database\",\"type\",\"mysql\"],[\"database\",\"version\",\"5.5.50\"],[\"database\",\"size\",157859840],[\"apps\",\"activity\",\"2.3.2\"],[\"apps\",\"admin_audit\",\"1.0.0\"],[\"apps\",\"bookmarks\",\"0.9.0\"],[\"apps\",\"calendar\",\"1.4.0\"],[\"apps\",\"comments\",\"1.0.0\"],[\"apps\",\"contacts\",\"1.4.0.0\"],[\"apps\",\"dav\",\"1.0.0\"],[\"apps\",\"documents\",\"disabled\"],[\"apps\",\"federatedfilesharing\",\"1.0.1\"],[\"apps\",\"federation\",\"1.0.1\"],[\"apps\",\"files\",\"1.5.2\"],[\"apps\",\"files_accesscontrol\",\"1.1.2\"],[\"apps\",\"files_automatedtagging\",\"1.1.1\"],[\"apps\",\"files_pdfviewer\",\"0.8.1\"],[\"apps\",\"files_retention\",\"disabled\"],[\"apps\",\"files_sharing\",\"1.0.0\"],[\"apps\",\"files_texteditor\",\"2.1\"],[\"apps\",\"files_trashbin\",\"1.0.0\"],[\"apps\",\"files_versions\",\"1.3.0\"],[\"apps\",\"files_videoplayer\",\"0.9.8\"],[\"apps\",\"firstrunwizard\",\"1.1\"],[\"apps\",\"gallery\",\"15.0.0\"],[\"apps\",\"logreader\",\"1.1.5\"],[\"apps\",\"mail\",\"0.5.3\"],[\"apps\",\"news\",\"9.0.4\"],[\"apps\",\"notes\",\"2.0.2\"],[\"apps\",\"notifications\",\"0.3.0\"],[\"apps\",\"ownbackup\",\"disabled\"],[\"apps\",\"ownnote\",\"disabled\"],[\"apps\",\"password_policy\",\"1.0.0\"],[\"apps\",\"provisioning_api\",\"1.0.0\"],[\"apps\",\"qownnotesapi\",\"16.09.0\"],[\"apps\",\"serverinfo\",\"1.1.1\"],[\"apps\",\"survey_client\",\"0.1.5\"],[\"apps\",\"systemtags\",\"1.0.2\"],[\"apps\",\"tasks\",\"0.9.3\"],[\"apps\",\"templateeditor\",\"0.1\"],[\"apps\",\"theming\",\"1.0.1\"],[\"apps\",\"updatenotification\",\"1.0.1\"],[\"apps\",\"workflowengine\",\"1.0.1\"],[\"stats\",\"num_files\",87655],[\"stats\",\"num_users\",2],[\"stats\",\"num_storages\",4],[\"stats\",\"num_storages_local\",1],[\"stats\",\"num_storages_home\",2],[\"stats\",\"num_storages_other\",1],[\"files_sharing\",\"num_shares\",9],[\"files_sharing\",\"num_shares_user\",0],[\"files_sharing\",\"num_shares_groups\",1],[\"files_sharing\",\"num_shares_link\",8],[\"files_sharing\",\"num_shares_link_no_password\",6],[\"files_sharing\",\"num_fed_shares_sent\",0],[\"files_sharing\",\"num_fed_shares_received\",0],[\"files_sharing\",\"permissions_3_1\",\"4\"],[\"files_sharing\",\"permissions_3_4\",\"4\"],[\"files_sharing\",\"permissions_1_31\",\"1\"],[\"encryption\",\"enabled\",\"no\"],[\"encryption\",\"default_module\",\"no\"]]}",
            "last_sent": "1474371942",
            "php": "yes",
            "server": "yes",
            "stats": "yes",
            "types": ""
        },
        "systemtags": {
            "enabled": "yes",
            "installed_version": "1.0.2",
            "types": "logging"
        },
        "tasks": {
            "enabled": "yes",
            "installed_version": "0.9.3",
            "ocsid": "164356",
            "types": ""
        },
        "templateeditor": {
            "enabled": "yes",
            "installed_version": "0.1",
            "types": ""
        },
        "theming": {
            "cachebuster": "55",
            "enabled": "yes",
            "installed_version": "1.0.1",
            "slogan": "",
            "types": "logging",
            "url": "http:\/\/someurl.net:1234"
        },
        "updatenotification": {
            "calendar": "1.4.0",
            "enabled": "yes",
            "installed_version": "1.0.1",
            "mail": "0.5.3",
            "news": "9.0.4",
            "types": ""
        },
        "workflowengine": {
            "enabled": "yes",
            "installed_version": "1.0.1",
            "types": "filesystem"
        }
    }
}

#### Client configuration

Browser:
Firefox 49.0

Operating system:
Fedora 24

Logs

Web server error log
Insert your webserver log here
Server log (data/nextcloud.log)
Insert your server log here
##### Horde IMAP log (data/horde_imap.log)
Insert your horde IMAP log here, see https://github.com/nextcloud/mail#debug-mode
##### Horde SMTP log (data/horde_smtp.log)
Insert your horde SMTP log here, see https://github.com/nextcloud/mail#debug-mode
##### Browser log
Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log 
c) ...

Mail app won't accept address with "." in it

Steps to reproduce

Try to apply settings for an email address with a "." in it such as [email protected]

Expected behaviour

After apply settings emails should be received

Actual behaviour

Message shows: 'Error while loading the selected account'. Other Nextcloud users with other email addresses, but same ISP connect
I thought it might be similar to (https://github.com/owncloudarchive/mail/issues/626), but I have other accounts with sub-folders in the inbox that are accessible.

Mail app

Mail app version: (see apps admin page)

  • mail: 0.6.0
    but also an issue in the previous release

Mailserver or service: (e.g. Outlook, Yahoo, Gmail, Exchange,...)
ntlworld.com [forerunner of virginmedia]

Transport security - IMAP: (None, SSL, TLS, STARTTLS)
ssl/tls
Transport security - SMTP: (None, SSL, TLS, STARTTLS)
ssl/tls
Number of accounts:
Only affects accounts with a "."

Mail app version build date: (only if you are using a Nightly Build)

Server configuration

Operating system:
Ubuntu 16.04
Web server:
Apache 2
Database:
MySQL
PHP version:
7.0
Version: (see admin page)
10.0.1
Updated from an older version or fresh install:
Updated from 9 and 10.0
List of activated apps:
Enabled:

  • activity: 2.3.2
  • admin_audit: 1.0.0
  • audioplayer: 1.2.2
  • calendar: 1.4.0
  • comments: 1.0.0
  • contacts: 1.4.0.0
  • dav: 1.0.1
  • federatedfilesharing: 1.0.1
  • federation: 1.0.1
  • files: 1.5.2
  • files_pdfviewer: 0.8.1
  • files_sharing: 1.0.0
  • files_texteditor: 2.1
  • files_trashbin: 1.0.0
  • files_versions: 1.3.0
  • files_videoplayer: 0.9.8
  • firstrunwizard: 1.1
  • gallery: 15.0.0
  • mail: 0.6.0
  • music: 0.3.12
  • notifications: 0.3.0
  • password_policy: 1.0.0
  • provisioning_api: 1.0.0
  • richdocuments: 1.1.7
  • serverinfo: 1.1.1
  • survey_client: 0.1.5
  • systemtags: 1.0.2
  • tasks: 0.9.3
  • templateeditor: 0.1
  • theming: 1.0.1
  • updatenotification: 1.0.1
  • workflowengine: 1.0.1
    Disabled:
  • documents
  • encryption
  • external
  • files_accesscontrol
  • files_automatedtagging
  • files_external
  • files_retention
  • user_external
  • user_ldap
  • user_saml
**The content of config/config.php:**
<?php
$CONFIG = array (
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'updatechecker' => false,
  'instanceid' => 'instance',
  'passwordsalt' => 'Password',
  'secret' => 'Secret',
  'updater.secret' => 'Secret',
  'trusted_domains' => 
  array (
    0 => '192.168.0.1',
    1 => 'www.website.com',
  ),
  'datadirectory' => '/var/www/nextcloud/data',
  'overwrite.cli.url' => 'http://192.168.0.1/nextcloud',
  'dbtype' => 'mysql',
  'version' => '9.1.1.5',
  'dbname' => 'ocdb',
  'dbhost' => 'localhost',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'oc_admin',
  'dbpassword' => 'password',
  'loglevel' => '2',
  'logfile' => '/var/www/nextcloud/data/nextcloud.log',
  'logtimezone' => 'UTC',
  'log_authfailip' => true,
  'installed' => true,
  'mail_smtpmode' => 'smtp',
  'mail_from_address' => 'first.last',
  'mail_domain' => 'ntlworld.com',
  'mail_smtphost' => 'smtp.ntlworld.com',
  'mail_smtpport' => '25',
  'maintenance' => false,
  'theme' => '',
  'appstore.experimental.enabled' => true,
);


#### Client configuration
**Browser:**
Mozilla and Chrome
**Operating system:**
Ubuntu 16.04 and Windows 7

#### Logs
##### Web server error log

Insert your webserver log here


##### Server log (data/nextcloud.log)
{"reqId":"iDZrSaDRpUV3SUu\/KRar","remoteAddr":"88.88.888.888","app":"PHP","message":"include(): Failed opening 'richdocuments\/personal.php' for inclusion (include_path='\/var\/www\/nextcloud\/apps\/mail\/vendor\/pear-pear.horde.org\/Horde_Translation:\/var\/www\/nextcloud\/apps\/mail\/vendor\/pear-pear.horde.org\/Horde_Util:\/var\/www\/nextcloud\/apps\/mail\/vendor\/pear-pear.horde.org\/Horde_Nls:\/var\/www\/nextcloud\/apps\/mail\/vendor\/pear-pear.horde.org\/Horde_Exception:\/var\/www\/nextcloud\/apps\/mail\/vendor\/pear-pear.horde.org\/Horde_Date:\/var\/www\/nextcloud\/apps\/mail\/vendor\/pear-pear.horde.org\/Horde_Stream_Filter:\/var\/www\/nextcloud\/apps\/mail\/vendor\/pear-pear.horde.org\/Horde_Stream:\/var\/www\/nextcloud\/apps\/mail\/vendor\/pear-pear.horde.org\/Horde_Socket_Client:\/var\/www\/nextcloud\/apps\/mail\/vendor\/pear-pear.horde.org\/Horde_Stream_Wrapper:\/var\/www\/nextcloud\/apps\/mail\/vendor\/pear-pear.horde.org\/Horde_Support:\/var\/www\/nextcloud\/apps\/mail\/vendor\/pear-pear.horde.org\/Horde_Crypt_Blowfish:\/var\/www\/nextcloud\/apps\/mail\/vendor\/pear-pear.horde.org\/Horde_Secret:\/var\/www\/nextcloud\/apps\/mail\/vendor\/pear-pear.horde.org\/Horde_Text_Flowed:\/var\/www\/nextcloud\/apps\/mail\/vendor\/pear-pear.horde.org\/Horde_Mime:\/var\/www\/nextcloud\/apps\/mail\/vendor\/pear-pear.horde.org\/Horde_Idna:\/var\/www\/nextcloud\/apps\/mail\/vendor\/pear-pear.horde.org\/Horde_Mail:\/var\/www\/nextcloud\/apps\/mail\/vendor\/pear-pear.horde.org\/Horde_ListHeaders:\/var\/www\/nextcloud\/apps\/mail\/vendor\/pear-pear.horde.org\/Horde_Imap_Client:\/var\/www\/nextcloud\/apps\/mail\/vendor\/pear-pear.horde.org\/Horde_Smtp:\/var\/www\/nextcloud\/apps\/mail\/vendor\/pear-pear.horde.org\/Horde_Text_Filter:\/var\/www\/nextcloud\/3rdparty\/pear\/console_getopt:\/var\/www\/nextcloud\/3rdparty\/pear\/pear_exception:\/var\/www\/nextcloud\/3rdparty\/pear\/pear-core-minimal\/src:\/var\/www\/nextcloud\/3rdparty\/pear\/archive_tar:\/var\/www\/nextcloud\/3rdparty\/phpseclib\/phpseclib\/phpseclib:\/var\/www\/nextcloud\/lib\/private:\/var\/www\/nextcloud\/config\/:\/var\/www\/nextcloud\/3rdparty:\/var\/www\/nextcloud\/apps:.:\/usr\/share\/php:\/var\/www\/nextcloud') at \/var\/www\/nextcloud\/lib\/private\/legacy\/app.php#759","level":3,"time":"2016-10-15T16:40:01+00:00","method":"GET","url":"\/nextcloud\/index.php\/settings\/personal","user":"admin"}

{"reqId":"Or\/jmgzSX+P4gzxTQspG","remoteAddr":"88.88.888.888","app":"index","message":"Exception: {\"Exception\":\"Horde_Imap_Client_Exception_ServerResponse\",\"Message\":\"IMAP error reported by server.\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/mail\\\/vendor\\\/pear-pear.horde.org\\\/Horde_Imap_Client\\\/Horde\\\/Imap\\\/Client\\\/Socket.php(4302): Horde_Imap_Client_Socket->_getLine(Object(Horde_Imap_Client_Interaction_Pipeline))\\n#1 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/mail\\\/vendor\\\/pear-pear.horde.org\\\/Horde_Imap_Client\\\/Horde\\\/Imap\\\/Client\\\/Socket.php(4230): Horde_Imap_Client_Socket->_sendCmdChunk(Object(Horde_Imap_Client_Interaction_Pipeline), Array)\\n#2 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/mail\\\/vendor\\\/pear-pear.horde.org\\\/Horde_Imap_Client\\\/Horde\\\/Imap\\\/Client\\\/Socket.php(1749): Horde_Imap_Client_Socket->_sendCmd(Object(Horde_Imap_Client_Interaction_Pipeline))\\n#3 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/mail\\\/vendor\\\/pear-pear.horde.org\\\/Horde_Imap_Client\\\/Horde\\\/Imap\\\/Client\\\/Base.php(1726): Horde_Imap_Client_Socket->_status(Array, 1)\\n#4 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/mail\\\/lib\\\/mailbox.php(223): Horde_Imap_Client_Base->status(Array, 1)\\n#5 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/mail\\\/lib\\\/mailbox.php(230): OCA\\\\Mail\\\\Mailbox->getStatus(1)\\n#6 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/mail\\\/lib\\\/account.php(544): OCA\\\\Mail\\\\Mailbox->getTotalMessages()\\n#7 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/mail\\\/lib\\\/account.php(575): OCA\\\\Mail\\\\Account->guessBestMailBox(Array)\\n#8 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/mail\\\/lib\\\/account.php(413): OCA\\\\Mail\\\\Account->getSpecialFolder('archive', true)\\n#9 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/mail\\\/lib\\\/account.php(609): OCA\\\\Mail\\\\Account->getSpecialFoldersIds(false)\\n#10 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/mail\\\/lib\\\/account.php(337): OCA\\\\Mail\\\\Account->localizeSpecialMailboxes()\\n#11 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/mail\\\/lib\\\/account.php(349): OCA\\\\Mail\\\\Account->getMailboxes()\\n#12 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/mail\\\/lib\\\/controller\\\/folderscontroller.php(62): OCA\\\\Mail\\\\Account->getListArray()\\n#13 [internal function]: OCA\\\\Mail\\\\Controller\\\\FoldersController->index(4)\\n#14 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(160): call_user_func_array(Array, Array)\\n#15 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(90): OC\\\\AppFramework\\\\Http\\\\Dispatcher->executeController(Object(OCA\\\\Mail\\\\Controller\\\\FoldersController), 'index')\\n#16 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/App.php(111): OC\\\\AppFramework\\\\Http\\\\Dispatcher->dispatch(Object(OCA\\\\Mail\\\\Controller\\\\FoldersController), 'index')\\n#17 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/Routing\\\/RouteActionHandler.php(47): OC\\\\AppFramework\\\\App::main('OCA\\\\\\\\Mail\\\\\\\\Contro...', 'index', Object(OC\\\\AppFramework\\\\DependencyInjection\\\\DIContainer), Array)\\n#18 [internal function]: OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler->__invoke(Array)\\n#19 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Route\\\/Router.php(293): call_user_func(Object(OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler), Array)\\n#20 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/base.php(983): OC\\\\Route\\\\Router->match('\\\/apps\\\/mail\\\/acco...')\\n#21 \\\/var\\\/www\\\/nextcloud\\\/index.php(48): OC::handleRequest()\\n#22 {main}\",\"File\":\"\\\/var\\\/www\\\/nextcloud\\\/apps\\\/mail\\\/vendor\\\/pear-pear.horde.org\\\/Horde_Imap_Client\\\/Horde\\\/Imap\\\/Client\\\/Socket.php\",\"Line\":4590}","level":3,"time":"2016-10-15T16:41:07+00:00","method":"GET","url":"\/nextcloud\/index.php\/apps\/mail\/accounts\/4\/folders","user":"admin"}

{"reqId":"lF607357gk\/BM3wu5cA+","remoteAddr":"88.88.888.888","app":"mail","message":"Creating account failed: Error connecting to mail server.","level":3,"time":"2016-10-15T16:45:37+00:00","method":"POST","url":"\/nextcloud\/index.php\/apps\/mail\/accounts","user":"admin"}
{"reqId":"T7EA3kQVmLMqFu2Yyl1X","remoteAddr":"88.88.888.888","app":"mail","message":"Creating account failed: Error connecting to mail server.","level":3,"time":"2016-10-15T16:45:57+00:00","method":"POST","url":"\/nextcloud\/index.php\/apps\/mail\/accounts","user":"admin"}
{"reqId":"5E75n5RP3GO+eq\/KMROQ","remoteAddr":"88.88.888.888","app":"mail","message":"Creating account failed: Error connecting to mail server.","level":3,"time":"2016-10-15T16:46:34+00:00","method":"POST","url":"\/nextcloud\/index.php\/apps\/mail\/accounts","user":"admin"}

##### Horde IMAP log (data/horde_imap.log)
------------------------------
>> Sat, 15 Oct 2016 17:06:02 +0000
>> Connection to: imap://imap.ntlworld.com:993/
>> Server connection took 0.1291 seconds.
S: * OK Virgin Media IMAP4 server ready [ e4c558782NTL ].
C: 1 CAPABILITY
S: * CAPABILITY IMAP4rev1 NAMESPACE
S: 1 OK CAPABILITY completed.
>> Command 1 took 0.0677 seconds.
C: 2 LOGIN [email protected] [PASSWORD]
S: 2 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SPECIAL-USE QUOTA] Logged in
>> Command 2 took 0.1995 seconds.
>> CACHE: Using the OCA\Mail\Cache\Cache storage driver.
C: 3 ENABLE QRESYNC
C: 4 LOGOUT
S: * ENABLED QRESYNC
S: 3 OK Enabled (0.000 + 0.000 secs).
>> Command 3 took 0.0407 seconds.
S: * BYE Logging out
S: 4 OK Logout completed.
>> Command 4 took 0.0574 seconds.
------------------------------
>> Sat, 15 Oct 2016 17:06:03 +0000
>> Connection to: imap://imap.ntlworld.com:993/
>> Server connection took 0.1172 seconds.
S: * OK Virgin Media IMAP4 server ready [ e4c558782NTL ].
C: 1 CAPABILITY
S: * CAPABILITY IMAP4rev1 NAMESPACE
S: 1 OK CAPABILITY completed.
>> Command 1 took 0.021 seconds.
C: 2 LOGIN [email protected] [PASSWORD]
S: 2 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SPECIAL-USE QUOTA] Logged in
>> Command 2 took 0.2389 seconds.
>> CACHE: Using the OCA\Mail\Cache\Cache storage driver.
C: 3 ENABLE QRESYNC
C: 4 LIST () "" (*) RETURN (SPECIAL-USE)
S: * ENABLED QRESYNC
S: 3 OK Enabled (0.000 + 0.000 secs).
>> Command 3 took 0.0483 seconds.
S: * LIST (\Noselect) "/" Archives
S: * LIST () "/" Archives/2010
S: * LIST () "/" Archives/2012
S: * LIST () "/" Archives/2013
S: * LIST () "/" Archives/2014
S: * LIST () "/" Archives/2015
S: * LIST () "/" Archives/Trash
S: * LIST (\Drafts) "/" Drafts
S: * LIST () "/" stuff
S: * LIST () "/" things
S: * LIST () "/" "Follow up"
S: * LIST () "/" other
S: * LIST () "/" Gardening
S: * LIST () "/" House
S: * LIST () "/" "Junk E-mail"
S: * LIST () "/" Misc
S: * LIST () "/" "friends"
S: * LIST () "/" Receipts
S: * LIST () "/" all
S: * LIST (\Sent) "/" Sent
S: * LIST (\Noselect) "/" [Gmail]
S: * LIST () "/" "[Gmail]/All Mail"
S: * LIST () "/" [Gmail]/Chats
S: * LIST () "/" [Gmail]/Drafts
S: * LIST () "/" [Gmail]/Important
S: * LIST () "/" "[Gmail]/Sent Mail"
S: * LIST () "/" [Gmail]/Starred
S: * LIST (\Noselect) "/" [Imap]
S: * LIST () "/" [Imap]/Archives
S: * LIST () "/" children
S: * LIST () "/" work
S: * LIST (\Trash) "/" Trash
S: * LIST (\Junk) "/" Spam
S: * LIST () "/" INBOX
S: 4 OK List completed (0.000 + 0.000 secs).
>> Command 4 took 0.2066 seconds.
C: 5 STATUS Drafts (MESSAGES)
S: * STATUS Drafts (MESSAGES 1)
S: 5 OK Status completed (0.000 + 0.000 secs).
>> Command 5 took 0.0448 seconds.
C: 6 STATUS Drafts (MESSAGES)
S: * STATUS Drafts (MESSAGES 1)
S: 6 OK Status completed (0.000 + 0.000 secs).
>> Command 6 took 0.0453 seconds.
C: 7 STATUS [Gmail]/Drafts (MESSAGES)
S: * STATUS [Gmail]/Drafts (MESSAGES 0)
S: 7 OK Status completed (0.000 + 0.000 secs).
>> Command 7 took 0.0912 seconds.
C: 8 STATUS Archives/Trash (MESSAGES)
S: * STATUS Archives/Trash (MESSAGES 3995)
S: 8 OK Status completed (0.000 + 0.000 secs).
>> Command 8 took 0.0468 seconds.
C: 9 STATUS Archives/Trash (MESSAGES)
S: * STATUS Archives/Trash (MESSAGES 3995)
S: 9 OK Status completed (0.000 + 0.000 secs).
>> Command 9 took 0.0419 seconds.
C: 10 STATUS Trash (MESSAGES)
S: * STATUS Trash (MESSAGES 220)
S: 10 OK Status completed (0.000 + 0.000 secs).
>> Command 10 took 0.0448 seconds.
C: 11 STATUS [Imap]/Archives (MESSAGES)
S: * STATUS [Imap]/Archives (MESSAGES 0)
S: 11 OK Status completed (0.000 + 0.000 secs).
>> Command 11 took 0.0677 seconds.
C: 12 STATUS [Imap]/Archives (MESSAGES)
S: * STATUS [Imap]/Archives (MESSAGES 0)
S: 12 OK Status completed (0.000 + 0.000 secs).
>> Command 12 took 0.042 seconds.
C: 13 STATUS Archives (MESSAGES)
S: 13 NO Mailbox doesn't exist: Archives (0.000 + 0.000 secs).
>> Command 13 took 0.044 seconds.
C: 14 LOGOUT
S: * BYE Logging out
S: 14 OK Logout completed.
>> Command 14 took 0.0623 seconds.
</details>

##### Horde SMTP log (data/horde_smtp.log)
------------------------------
>> Sat, 15 Oct 2016 17:06:02 +0000
>> Connection to: smtp://smtp.ntlworld.com:465
S: 220 know-smtprelay-9-imp bizsmtp ESMTP server ready
C: EHLO derg
S: 250-know-smtprelay-9-imp hello [88.88.888.888], pleased to meet you
S: 250-HELP
S: 250-AUTH LOGIN PLAIN
S: 250-SIZE 52000000
S: 250-8BITMIME
S: 250 OK
C: AUTH LOGIN
S: 334 VXNlcm5hbWU6
C: ZG9tLndhbGRlbkBudGx3b3JsZC5jb20=
S: 334 UGFzc3dvcmQ6
[AUTH Command - method: LOGIN; username: [email protected]]
S: 235 ... authentication succeeded
C: QUIT
S: 221 know-smtprelay-9-imp bizsmtp closing connection


##### Browser log
<details>

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...

</details>

Archiving, moving messages, spam/unspam flagging

Some common features such as moving messages (generic) or archiving them (with configuration how to do so: Archives/YYYY/MM/ e.g. or Archives/YYYY-MM/ or Archives/YYYY/ only) and flagging messages as spam or ham (not spam) would be very helpful.

Edit: These features are related but not the same, maybe split them up into 3 separate tickets?

  • #22 Archiving
  • #23 Spam/ham flagging
  • #24 Generic moving

E-Mail with paintext and http links shows up with invalid http links

Steps to reproduce

  1. Create E-Mail with plain text and add a http link "https://domain.com/track/direct.php?Nr=1020&EP=100"
  2. Watch E-Mail with Nextcloud Mail

Expected behaviour

<a href="https://domain.com/track/direct.php?Nr=1020&EPLZ=8006" rel="noreferrer" target="_blank">https://domain.com/track/direct.php?Nr=1020&EPLZ=8006</a>

Actual behaviour

Looks like the code, which creates the link stops at the "&", but it should not.

<a href="https://domain.com/track/direct.php?Nr=1020" rel="noreferrer" target="_blank">https://domain.com/track/direct.php</a>&EPLZ=8006

Mail app

Mail app version: 0.5.3

Server configuration

Operating system: webhoster

Web server: apache

Database: MySQL

PHP version: 5.6

Version: 10.0.1

Updated from an older version or fresh install: updated from Nextcloud 9.x

List of activated apps:

Client configuration

Browser: Firefox 45.4.0

Operating system: Linux


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Get rid of »Error loading the selected message«

This error should not show ever. It just makes it seem like the mail app is unstable. Basically it’s better to not show the notification at all than to show it.

When that selected message can not be loaded, just skip to the next until one can be loaded.

Make Contacts & Mail Buttons look better and more the same

owncloud/contacts#493 moved the "Add contact"-button to the sidebar - which is nice. Unfortunately - it is a bit different to the Mail-apps one 😉

  • I think the solution of the mail-app has a better "+" because it is a bit bigger. (Done with owncloud/contacts#511)
  • The contacts button has a better button, because it fits better in the sidebar.

Maybe we can take the positive aspects from every button-style 😜

Mail:
mail-png

Contacts:
contacts-png

cc @jancborchardt @ChristophWurst @skjnldsv

Error while loading messages

Steps to reproduce

  1. create account
  2. open account (opens automatically)

Expected behaviour

Load messages of inbox folder

Actual behaviour

Shows spinner and error "Error while loading messages". Since the app can load all the inbox folders, I would say that auth is okay. Mailserver is on the same host - I tried localhost as well as full domain names-

Mail app

Mail app version: 0.5.3

Mailserver or service: imap

Transport security - IMAP: SSL

Transport security - SMTP: STARTTLS

Number of accounts: 1

Server configuration

Operating system: Ubuntu

Web server: Apache 2.2.14

Database: MySQL 5.1.73

PHP version: 5.5.19

Version: 10.0.0

Updated from an older version or fresh install: fresh install

Client configuration

Browser: Chrome

Operating system: Windows 10

Logs

Web server error log
[Wed Sep 07 14:28:53 2016] [crit] [client MY_IP_ADDRESS] (13)Permission denied: PATH_TO_NEXTCLOUD/nextcloud/data/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
Server log (data/nextcloud.log)
{"reqId":"V9AFGX8AAQEAABSjhA4AABAv","remoteAddr":"MY_IP_ADDRESS","app":"mail","message":"Setting up manually configured account","level":1,"time":"2016-09-07T12:16:25+00:00","method":"POST","url":"\/index.php\/apps\/mail\/accounts","user":"myuser"}
{"reqId":"V9AFGX8AAQEAABSjhA4AABAv","remoteAddr":"MY_IP_ADDRESS","app":"mail","message":"Connecting to account [email protected]","level":0,"time":"2016-09-07T12:16:25+00:00","method":"POST","url":"\/index.php\/apps\/mail\/accounts","user":"myuser"}
{"reqId":"V9AFGX8AAQEAABSjhA4AABAv","remoteAddr":"MY_IP_ADDRESS","app":"mail","message":"account created 8","level":0,"time":"2016-09-07T12:16:25+00:00","method":"POST","url":"\/index.php\/apps\/mail\/accounts","user":"myuser"}
{"reqId":"V9AFG38AAQEAABSjhDIAABAv","remoteAddr":"MY_IP_ADDRESS","app":"mail","message":"loading messages 0 to 20 of folder <SU5CT1g=>","level":0,"time":"2016-09-07T12:16:27+00:00","method":"GET","url":"\/index.php\/apps\/mail\/accounts\/8\/folders\/SU5CT1g%3D\/messages","user":"myuser"}
{"reqId":"V9AFG38AAQEAABSjhDIAABAv","remoteAddr":"MY_IP_ADDRESS","app":"index","message":"Exception: {\"Exception\":\"Horde_Imap_Client_Exception_ServerResponse\",\"Message\":\"IMAP error reported by server.\",\"Code\":0,\"Trace\":\"#0 \\\/PATH_TO_NEXTCLOUD\\\/nextcloud\\\/apps\\\/mail\\\/vendor\\\/pear-pear.horde.org\\\/Horde_Imap_Client\\\/Horde\\\/Imap\\\/Client\\\/Socket.php(4302): Horde_Imap_Client_Socket->_getLine(Object(Horde_Imap_Client_Interaction_Pipeline))\\n#1 \\\/PATH_TO_NEXTCLOUD\\\/nextcloud\\\/apps\\\/mail\\\/vendor\\\/pear-pear.horde.org\\\/Horde_Imap_Client\\\/Horde\\\/Imap\\\/Client\\\/Socket.php(4230): Horde_Imap_Client_Socket->_sendCmdChunk(Object(Horde_Imap_Client_Interaction_Pipeline), Array)\\n#2 \\\/PATH_TO_NEXTCLOUD\\\/nextcloud\\\/apps\\\/mail\\\/vendor\\\/pear-pear.horde.org\\\/Horde_Imap_Client\\\/Horde\\\/Imap\\\/Client\\\/Socket.php(2473): Horde_Imap_Client_Socket->_sendCmd(Object(Horde_Imap_Client_Interaction_Pipeline))\\n#3 \\\/PATH_TO_NEXTCLOUD\\\/nextcloud\\\/apps\\\/mail\\\/vendor\\\/pear-pear.horde.org\\\/Horde_Imap_Client\\\/Horde\\\/Imap\\\/Client\\\/Base.php(2260): Horde_Imap_Client_Socket->_search(Object(Horde_Imap_Client_Search_Query), Array)\\n#4 \\\/PATH_TO_NEXTCLOUD\\\/nextcloud\\\/apps\\\/mail\\\/lib\\\/mailbox.php(105): Horde_Imap_Client_Base->search(Object(Horde_Imap_Client_Mailbox), Object(Horde_Imap_Client_Search_Query), Array)\\n#5 \\\/PATH_TO_NEXTCLOUD\\\/nextcloud\\\/apps\\\/mail\\\/lib\\\/mailbox.php(137): OCA\\\\Mail\\\\Mailbox->getSearchIds(0, 21, NULL)\\n#6 \\\/PATH_TO_NEXTCLOUD\\\/nextcloud\\\/apps\\\/mail\\\/lib\\\/controller\\\/messagescontroller.php(133): OCA\\\\Mail\\\\Mailbox->getMessages(0, 21, NULL)\\n#7 [internal function]: OCA\\\\Mail\\\\Controller\\\\MessagesController->index(8, 'SU5CT1g=', 0, 20, NULL, NULL)\\n#8 \\\/PATH_TO_NEXTCLOUD\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(160): call_user_func_array(Array, Array)\\n#9 \\\/PATH_TO_NEXTCLOUD\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(90): OC\\\\AppFramework\\\\Http\\\\Dispatcher->executeController(Object(OCA\\\\Mail\\\\Controller\\\\MessagesController), 'index')\\n#10 \\\/PATH_TO_NEXTCLOUD\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/App.php(111): OC\\\\AppFramework\\\\Http\\\\Dispatcher->dispatch(Object(OCA\\\\Mail\\\\Controller\\\\MessagesController), 'index')\\n#11 \\\/PATH_TO_NEXTCLOUD\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/Routing\\\/RouteActionHandler.php(47): OC\\\\AppFramework\\\\App::main('MessagesControl...', 'index', Object(OC\\\\AppFramework\\\\DependencyInjection\\\\DIContainer), Array)\\n#12 [internal function]: OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler->__invoke(Array)\\n#13 \\\/PATH_TO_NEXTCLOUD\\\/nextcloud\\\/lib\\\/private\\\/Route\\\/Router.php(293): call_user_func(Object(OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler), Array)\\n#14 \\\/PATH_TO_NEXTCLOUD\\\/nextcloud\\\/lib\\\/base.php(967): OC\\\\Route\\\\Router->match('\\\/apps\\\/mail\\\/acco...')\\n#15 \\\/PATH_TO_NEXTCLOUD\\\/nextcloud\\\/index.php(48): OC::handleRequest()\\n#16 {main}\",\"File\":\"\\\/PATH_TO_NEXTCLOUD\\\/nextcloud\\\/apps\\\/mail\\\/vendor\\\/pear-pear.horde.org\\\/Horde_Imap_Client\\\/Horde\\\/Imap\\\/Client\\\/Socket.php\",\"Line\":4590}","level":3,"time":"2016-09-07T12:16:27+00:00","method":"GET","url":"\/index.php\/apps\/mail\/accounts\/8\/folders\/SU5CT1g%3D\/messages","user":"myuser"}

##### Horde IMAP log (data/horde_imap.log)
------------------------------
>> Wed, 07 Sep 2016 13:04:08 +0000
>> Connection to: imap://imap.mydomain.tld:993/
>> Server connection took 0.0211 seconds.
S: * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUTH=PLAIN ACL ACL2=UNION] Courier-IMAP ready. Copyright 1998-2008 Double Precision, Inc.  See COPYING for distribution information.
C: 1 [INITIAL CLIENT RESPONSE (username: MY_USERNAME)]
S: +
C: ####CREDENTIALS_REPLACED####
S: 1 OK LOGIN Ok.
>> Command 1 took 0.016 seconds.
C: 2 CAPABILITY
S: * CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUTH=PLAIN ACL ACL2=UNION
S: 2 OK CAPABILITY completed
>> Command 2 took 0.0007 seconds.
C: 3 LIST "" *
S: * LIST (\HasNoChildren) "." "INBOX.Sent"
S: * LIST (\Unmarked \HasChildren) "." "INBOX"
S: * LIST (\HasNoChildren) "." "INBOX.Drafts"
S: 3 OK LIST completed
>> Command 3 took 0.0052 seconds.
C: 4 STATUS INBOX (MESSAGES RECENT UIDNEXT UIDVALIDITY UNSEEN)
C: 5 STATUS INBOX.Drafts (MESSAGES RECENT UIDNEXT UIDVALIDITY UNSEEN)
C: 6 STATUS INBOX.Sent (MESSAGES RECENT UIDNEXT UIDVALIDITY UNSEEN)
S: * STATUS "INBOX" (MESSAGES 5712 RECENT 0 UIDNEXT 17205 UIDVALIDITY 1162366424 UNSEEN 0)
S: 4 OK STATUS Completed.
>> Command 4 took 0.0772 seconds.
S: * STATUS "INBOX.Drafts" (MESSAGES 5 RECENT 0 UIDNEXT 114 UIDVALIDITY 1166634516 UNSEEN 0)
S: 5 OK STATUS Completed.
>> Command 5 took 0.1188 seconds.
S: * STATUS "INBOX.Sent" (MESSAGES 566 RECENT 0 UIDNEXT 586 UIDVALIDITY 1165864546 UNSEEN 0)
S: 6 OK STATUS Completed.
>> Command 6 took 0.1189 seconds.
C: 18 STATUS INBOX (MESSAGES RECENT UIDNEXT UIDVALIDITY UNSEEN)
S: * STATUS "INBOX" (MESSAGES 5712 RECENT 0 UIDNEXT 17205 UIDVALIDITY 1162366424 UNSEEN 0)
S: 18 OK STATUS Completed.
>> Command 18 took 0.0197 seconds.
C: 19 LOGOUT
S: * BYE Courier-IMAP server shutting down
S: 19 OK LOGOUT completed
>> Command 19 took 0.0005 seconds.
------------------------------
>> Wed, 07 Sep 2016 13:04:09 +0000
>> Connection to: imap://imap.mydomain.tld:993/
>> Server connection took 0.0332 seconds.
S: * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUTH=PLAIN ACL ACL2=UNION] Courier-IMAP ready. Copyright 1998-2008 Double Precision, Inc.  See COPYING for distribution information.
C: 1 [INITIAL CLIENT RESPONSE (username: MY_USERNAME)]
S: +
C: ####CREDENTIALS_REPLACED####
S: 1 OK LOGIN Ok.
>> Command 1 took 0.0098 seconds.
C: 2 CAPABILITY
S: * CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUTH=PLAIN ACL ACL2=UNION
S: 2 OK CAPABILITY completed
>> Command 2 took 0.0006 seconds.
C: 3 EXAMINE INBOX
S: * FLAGS ($MDNSent $Forwarded $has_cal \Draft \Answered \Flagged \Deleted \Seen \Recent)
S: * OK [PERMANENTFLAGS ()] No permanent flags permitted
S: * 5712 EXISTS
S: * 0 RECENT
S: * OK [UIDVALIDITY 1162366424] Ok
S: * OK [MYRIGHTS "acdilrsw"] ACL
S: 3 OK [READ-ONLY] Ok
>> Command 3 took 0.0175 seconds.
C: 4 UID SORT (DATE) US-ASCII UNDELETED
S: 4 NO This command is disabled by the system administrator.
>> Command 4 took 0.0004 seconds.
C: 5 LOGOUT
S: * BYE Courier-IMAP server shutting down
S: 5 OK LOGOUT completed
>> Command 5 took 0.0006 seconds.

##### Horde SMTP log (data/horde_smtp.log)
no log available (??)
##### Browser log
jquery.js:8630 GET http://nextcloud.mydomain.tld/index.php/apps/mail/accounts/8/folders/SU5CT1g%3D/messages 500 (Internal Server Error)

Issues with drafts [$65 awarded]

There are a bunch of things problematic with drafts, and we should fix them. Cause drafts are a pretty helpful feature to save your stuff and sync it.

Sorted by severity:

  • For each email, a bunch of drafts are often saved and the previous one is not deleted
  • When an email is sent, the drafts of that email are not deleted
  • The subject isn’t saved
  • Special characters like umlauts and > is escaped which is horrible for quoted text

For later:

  • Drafts of replies are not shown automatically in the reply box when opening the mail again → moved to #459
  • Attachments are not saved → moved to #458

The $65 bounty on this issue has been claimed at Bountysource.

General Settings (e.g. top/bottom-replies)

The application currently only allows top-replies which are considered by most people as egositic. It also turns the conversation flow up-side-down. Maybe still some people want to have top-replies (I was told by a German employer that top-replies are needed in "business mails", bla bla bla) so best option is to provide settings to configure it.

Also other common options (e.g. Thunderbird has) should be included.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.