• Category: webapp
  • License: GNU Lesser General Public License (LGPL) version 3
  • Updated: 2015-3-9
  • Downloads: 5737

Other Projects

Chris's projects:




Send attachments from your OwnCloud account

Full description:

This plugin is now directly integrated in Webapp. It's called the "Files" plugin.

More information can be found here:

Download the newest Version from here:


The OwnCloud attachment plugin is a simple integration for Zarafa WebApp. It allows you to send e-mails with attachments that come from your OwnCloud account. You can browse your Owncloud from within WebApp. These files are not downloaded to your local computer; instead, the attachments are downloaded by the server hosting WebApp, so this makes it suitable for use from public computers.

This Plugin was ported from the Dropbox attachment plugin (by Ivo Timmermans).

Changes since version 1.3:

  • A new context with a webdav browser.You can now browse through all files, preview, add, delete and download them. It is also possible to attach a file directly to an email. A caching mechanism for webdav requests was also introduced to improve the loadtime while browsing through folders. Information for admins: please take a look at the config.php of the plugin - there are some new options to set.
  • For detailed changes take a look at the changelog
  • Warning: version 1.3 is only compatible with WebApp >= 1.3-38243! For older WebApp please use version 1.2.3-1

New WebDAV Browser

WebDav Servers tested:

  • Owncloud 4.5
  • Owncloud 5.x.x (Owncloud <= 5.0.3 has a bug in the webdav implementation that does not update renamed files!)
  • Synology Diskstation WebDAV (Path to Owncloud/Webdav: empty) Use version 1.3.1 if you have a Synology WebDAV server!
  • Drive on Web (Path to Owncloud/Webdav: /probdav)

Next Milestones:

  • Save received attachments directly to your Owncloud account. (since v1.2)
  • Full featured Webdav Client as OwnCloud Webgui replacement. (since v1.3 partially implemented)

PS: This is my first Zarafa plugin and i know that it is not perfect... maybe you can help me to improve :D

If you like my plugin, then think about donating some bucks to help the development.

Release notes:

Use this version only with WebApp >= 1.3 !  For older WebApp releases please use version 1.2.3-1 of this plugin.

Please note that the webdav browser is still experimental, so use it with care!

v1.3alpha6: 25.02.2013:

  • file upload reenabled
  • upload working but needs to be improved!!
  • tested with owncloud 4.5.7, webapp 1.3.1

I used your plugin before with my old server and it worked great, but with my new server, zarafa 7.1.4 and owncloud 5 both with ldap support, I get an error (nginx log):

2013/03/31 17:44:37 [error] 29435#0: *540 FastCGI sent in stderr: "exec: getversion" while reading response header from upstream, client:, server:, request: "POST /zarafa.php?sessionid=<sessionid_removed>&subsystem=webapp_1364744616997 HTTP/1.1", upstream: "fastcgi://unix:/tmp/php.socket:", host: "", referrer: ""


2013/03/31 17:45:12 [error] 29435#0: *543 FastCGI sent in stderr: "exec: loaddirectory

open a socket connection

Die Wartezeit für die Verbindung ist abgelaufen (110)


Error: could not open server connection

auth exception: 403 Failed to connect" while reading response header from upstream, client:, server:, request: "POST /zarafa.php?sessionid=<sessionid_removed>&subsystem=webapp_1364744616997 HTTP/1.1", upstream: "fastcgi://unix:/tmp/php.socket:", host: "", referrer: ""


any idea? maybe its my fault, but webapp, OC and such are working fine, and I doubled-checked my config ( ...

1of16 2763 days ago


the php fsockopen functions seems to fail, the connection to the webdav server times out. 

Try to set the php settings variable "default_socket_timeout" to a higher value in php.ini. And have a look to the fsockopen manual page here:

Also check your firewall if communication to the owncloud server is allowed.

P.S.: You should use the "new" Owncloud-WebDAV Path "<path-to-oc>/remote.php/webdav"

Chris 2761 days ago