05-03-2016 03:25 PM
05-05-2016 01:53 PM
10-30-2016 12:53 PM
Hi rmeske _
I am grateful for your entry, since I am having this problem too.
I am new to alfresco and I have been searching and trying almost everything, and now I feel obliged to thank you for posting the update on your findings
11-11-2016 03:38 PM
The downside of using "mail.from.enabled=false" is that all notifications appear to come from the same address, so that any inter-user mailings won't show who it was that initiated the event in the From field of the email.
If all of your Alfresco users have email addresses under your Office 365 account then you can give your dedicated SMTP account SendAs permissions on everybody else's account with a single Office 365 PowerShell command:
Get-Recipients | Add-RecipientPermission -AccessRights SendAs -Trustee <smtp user>
Where <smtp user> is the identity of the account that is also used for SMTP authentication. You could also separately run the Add-RecipientPermission command on individual accounts that map to the emails of Alfresco users. With this in place, you can then set "mail.from.enabled=true" in alfresco-global.properties and the From field on notifications will now show the initiator's address. The caveat is that this only works if the initiator has an Office 365 account on which the Add-RecipientPermission command has been executed. That may not be practical if you have Alfresco users without Office 365 accounts in your domain.
I think there is a more robust option which would allow any address in the From field, by way of an SMTP relay according to Option 3 at How to set up a multifunction device or application to send email using Office 365 - Office 365, but I haven't tried that yet because the SendAs method is currently sufficient for our usage.
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.