MDaemon administrators can enable Dropbox support which will allow end users to save email attachments to Dropbox and/or add shared links to Dropbox files in mail composed in Webmail.
This article will describe how to perform the following:
- Create a Dropbox application
- Enable Dropbox Support in MDaemon
- Connect to a Dropbox account in Webmail
- Save attachments to Dropbox
- Link Dropbox attachments messages composed in Webmail
- Disconnect Dropbox from Webmail
Create a Dropbox application
- Click the following link: Dropbox Platform
- Sign in to your Dropbox account
- Choose Scoped Access
- Choose Full Dropbox
- Choose a unique name for the app.
- Select Create App
- Click the Permissions tab.
- In the Account Info section, the account_info.read permission will be enabled by default.
- Leave the account_info.write permission disabled.
- In Files and folders, enable all permissions.
- All permissions in the Collaboration, Team, Team Data, Files, Members and Sessions sections should be disabled.
- Click Submit to save changes.
- In the Account Info section, the account_info.read permission will be enabled by default.
- Select the Settings tab.
- Select Enable Additional Users in the Development Users section
- This will enable up to 500 users to connect to the application.
- If connecting more than 500 Dropbox accounts, a Dropbox production status is required.
- The Redirect URLs should be secure URLs to Webmail (HTTPS must be enabled in Webmail)
For example;
https://mail.company.test/WorldClient.dll?View=OAuth&AuthRequest=Dropbox
https://localhost/WorldClient.dll?View=OAuth&AuthRequest=Dropbox - Set Allow public clients (Implicit Grant & PKCE) to Disallow
- Enter the MDaemon domain name in the Chooser/Saver domains section.
Enable Dropbox Support in MDaemon
- Open the MDaemon GUI
- Select Setup
- Select Web & IM Services
- Click the Dropbox menu under Webmail
- Check the Enable Dropbox Integration checkbox.
- Enter the Dropbox app key and Dropbox app secret generated for you by Dropbox.
- Click Apply
- Click OK
- Clear the Enable Dropbox Integration check box
- Navigate to the user's \MDaemon\Users\(domain)\(user)\WC folder.
- Open the User.ini file in a text editor.
- Add DropboxAccessEnabled=Yes under the [User] section.
Connect to a Dropbox account in Webmail
- Once enabled, open a browser, navigate to the Webmail login page, and Login.
- Select Options
- Select Cloud Apps
- Review the instructions and select the Setup Dropbox button.
- Click Connect to Dropbox
- A warning may be displayed if this is the first few times connecting to the Dropbox App. Click Continue to proceed.
- Login to the Dropbox account.
- Click Allow to allow the Dropbox app to interact with Webmail.
- MDaemon will state it has connected to Dropbox. The window can be closed.
Saving attachments to Dropbox
- Login to Webmail
- Open an email with an attachment, there will be a Dropbox logo next to the attachment name.
- Click on the Dropbox icon.
- A pop-up will appear and ask to save the attachment in the MDaemon_Attachments folder in the Dropbox account.
- Click Yes and a notification will appear indicating the attachment was saved to the attached Dropbox account.
- When reviewing the Dropbox account, there will be a MDaemon_Attachments folder with the saved attachment.
(Optional) Select Options > Cloud Apps and click to Hide Save Conformation to disable the Dropbox confirmations when saving attachments.
If the MDaemon_Attachments folder does not exist, it will be created.
The MDaemon_Attachments folder name cannot be changed.
Link Dropbox attachments messages composed in Webmail
- Compose a new message in Webmail.
- Click the Dropbox icon.
- This will open a new window and display the available Dropbox files/folders.
- A log-in to Dropbox will be required if not already logged in.
- Select the file(s) to be added to the message.
- Click Choose
- The file(s) will appear as clickable links in the message body.
- Selecting the link will take open a browser to the Dropbox item, where the file can be viewed/downloaded/shared.
- The amount of control one has over the link depends on the type of Dropbox account.
Disconnect Dropbox from Webmail
- Login to Webmail using the Dropbox enabled account.
- Select Options
- Select Cloud Apps
- Click the Disconnect Dropbox button.