MailSuite Pro 7 documentation

Configuring integration with social networks

Introduction

In current version, it's possible to configure integration of webmail application with various social networks and file sharing services. For all of those, the similar approach is used - in a special console offered by that network or service, you create an application and obtain a special set of parameters used for authentication from within webmail application.

Dropbox

Integration with Dropbox allows webmail users to attach files directly from their Dropbox account.

IMPORTANT: For this to work, webmail application must be running on SSL-enabled (https) host.

  1. Open App Console at Dropbox website. You'll be asked to log into your Dropbox account if you're not logged in yet.

  2. Click Create App button, then fill the parameters of your application as follows:
    Social-config-dropbox.png

  3. Supply arbitrary application name and click Create App.

  4. On next screen, the product installation domain(s) must be added under Drop-ins domains list. To Redirect URIs list, URLs of the following kind must be added: http://yourdomain.com/webmail/?dropbox where http://yourdomain.com/webmail/ is product installation URL.

  5. Copy App key and App secret values from that screen, and paste those in respective fields under Common > Social Networks screen of AdminPanel, make sure "Dropbox" option is enabled there.

By default, Dropbox application can only be accessed by up to 100 users. To remove those limits, you'll need to apply for production status as described here.

Google

The following configuration needs to be performed if you'd like to be able to allow users for attaching files from their Google Drive storage.

  1. Navigate to https://console.developers.google.com/project and click Create Project. Supply arbitrary Project Name and unique Project ID, click Create. Once the project is created, it will be selected automatically.

  2. In left pane, select APIs & auth -> Consent screen. On this page, you can supply various information about your application. Note that Product name and Email address fields are mandatory.

  3. In APIs & auth > APIs screen, locate Google Picker API and Drive API entries, and make sure both are enabled.

  4. Switch to APIs & auth -> Credentials page. Under OAuth section, click Create new client ID button.
    Application type needs to be set to "Web application".

    In Authorized JavaScript Origins, webmail URL should be supplied.

    In Authorized Redirect URIs list, URLs of the following kind must be added: http://yourdomain.com/webmail/?google where http://yourdomain.com/webmail/ is product installation URL.

  5. In Public API access section of that page, press Create New Key button and select Browser Key option. You'll be asked to provide a list of URL patterns the key can be used for. You can leave it empty, the key will work for any address then.

  6. From that page, obtain "App ID" (CLIENT ID), "App Secret" (CLIENT SECRET) and API KEY, they should be supplied under Common > Social Networks screen of AdminPanel.

In case of AfterLogic Aurora, integration with Google also allows for logging into HelpDesk interface using Google account. This is only about users of the support system (your clients which post inquiries in Helpdesk), those who have Aurora account log into it the standard way. The same can be done using Twitter and Facebook as described below.

Twitter

Allows for accessing Helpdesk of AfterLogic Aurora using your Twitter account. This is only about users of the support system (your clients which post inquiries in Helpdesk), those who have Aurora account log into it the standard way.

  1. Navigate to https://dev.twitter.com/apps and click Create a new application.

  2. Fill all the mandatory fields, make sure Callback URL is set to webmail URL.

  3. From Details tab obtain "App ID"(Consumer key) and "App Secret"(Consumer secret), which should be supplied under Common > Social Networks screen of AdminPanel.

Facebook

Allows for accessing Helpdesk of AfterLogic Aurora using your Facebook account. This is only about users of the support system (your clients which post inquiries in Helpdesk), those who have Aurora account log into it the standard way.

  1. Navigate to https://developers.facebook.com/apps and click Create a new app.

  2. On the left pane, select Settings > Basic tab, and supply webmail URL in App Domains and Site URL fields.

  3. From the same page, obtain App ID and App Secret values to be supplied under Common > Social Networks screen of AdminPanel.

  4. Enable Client OAuth Login on Advanced tab.