EmailLink
- setup an SMTP server which can store incoming email in a drop folder, probably the IIS SMTP server,
- configure journaling on your Exchange server to journal email to your SMTP server, and
- configure an Origin in Content Manager to monitor the drop folder on the SMTP server.
- create a project,
- enable the Gmail API for the project,
- create a service account,
- create the credentials,
- save the P12 file, and
- configure the gmail scope for the service account.
- Google service account documentation
- Google APIs credentials
- Google Admin Console
- to create a P12 key when creating the credentials,
- there is no need to specify the User Name in the EmailLink authentication
Checkin Style and Email deletion
This is a note to clarify what happens to emails processed by CM EmailLink.
Content Manager 9.1
In CM 9.1 there are two check boxes which impact what happens to the email after it has been filed in CM.Capture all email using Email Manager
Overview
Occasionally you might want to capture all email sent by (and to) particular users. This is achieved using a combination of Exchange Journaling and the Content Manager 'Email Management' module.
Details
There are a few things that need to be done in order to use the Email Management import tool, these are:
Watch
In this video I take a tour of Content Manager Email Management installed on an Azure VM and using Exchange Email Online.
NOTE: In the video I state the bulk loading is not supported when using SQL Azure. I am reliably informed that this has been fixed in Content Manager 9.2.
Email Link - Delete Check in Style
The CM Rambler showed how to improve the Email Link Admin console, this post shows how you might add a facility to delete a user's Check in Style from within the admin console. My main motivation for this is that there is a version of Content Manager out there which makes it difficult for a user to delete a user's check in style from the client, which is a problem when, for example, a user leaves the organisation.
The code
As per the video above
An empty TH
<th></th>
A table cell containing a button
<td><button class="btn btn-small" data-place-uri="@record.Uri">Delete</button></td>
The script
$("button[data-place-uri!=''][data-place-uri]").on("click", function (event) { var placeUri = $(this).attr('data-place-uri');
Configure Gmail in EmailLink
With the release of HPE Content Manager 9.0 Gmail is supported in EmailLink (ExchangeLink). Here I demonstrate how to configure this.
Summary
In short, to set up the Google credentials:
Links
Here the links I used in this tutorial
Remember...
ExchangeLink - AutoDiscover and impersonation troubleshooting
In which I stumble across an unhelpful HPRM ExchangeLink error message and then look at how to use EWS Editor to tell me what is actually happening.