PHPackages                             bennet0496/nextcloud\_attachments - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. bennet0496/nextcloud\_attachments

ActiveRoundcube-plugin[File &amp; Storage](/categories/file-storage)

bennet0496/nextcloud\_attachments
=================================

Upload large attachments to Nextcloud and automatically create share link

v2.0.1(3mo ago)105329[2 issues](https://github.com/bennet0496/nextcloud_attachments/issues)[2 PRs](https://github.com/bennet0496/nextcloud_attachments/pulls)MITPHPPHP &gt;=8.1CI passing

Since Sep 8Pushed 1w ago2 watchersCompare

[ Source](https://github.com/bennet0496/nextcloud_attachments)[ Packagist](https://packagist.org/packages/bennet0496/nextcloud_attachments)[ RSS](/packages/bennet0496-nextcloud-attachments/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (4)Versions (24)Used By (0)

Nextcloud Attachments for Roundcube
===================================

[](#nextcloud-attachments-for-roundcube)

Upload large attachments to Nextcloud and automatically create share link. Files that exceed `$config['max_message_size']`/1.33 will automatically be uploaded to the configured nextcloud server and linked in the email body. If the user has 2FA configured in Nextcloud, the plugin will ask to log in to create an app password.

This plugin is meant for environment where users have the same login for email and Nextcloud, e.g. company Installations

[![Screenshots](https://private-user-images.githubusercontent.com/4955327/266636647-c2852c4e-30ca-444c-bf24-172ecc25d75f.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODIxMjY3NTEsIm5iZiI6MTc4MjEyNjQ1MSwicGF0aCI6Ii80OTU1MzI3LzI2NjYzNjY0Ny1jMjg1MmM0ZS0zMGNhLTQ0NGMtYmYyNC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OGUzZGQyMzM4OTA1Yzc4MTc5YzIxYjc0OTdmOTU4OGYwMTRlY2M4NzFkOGZkMiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.m43gHYqT5OkRv867t8jvS7qKqK5vTjTKXbVzjIEQv9A)

Config
------

[](#config)

The plugin itself has a handful core settings. The server, the username strategy and the sub folder.

```
