07-04-2017 01:42 PM
Hello,
In order that emails sent I need to set an email header value. I can only find documentation (Email Server configuration | Alfresco Documentation) for a very small set of email configuration. Does anyone know how to set additional email header values?
Thanks,
Michael
07-05-2017 04:23 PM
That makes perfect sense. Since you are using APS (enterprise version), please feel free to raise a new feature request that will allow users to inject additional custom headers to all emails. A new custom extension point (Hook points | Alfresco Documentation) would be the simplest and easiest to solve this.
In the mean time, a workaround might be to use a service task/task listener/event listener etc to send emails where you can add additional headers when sending emails. eg: activiti-examples/activiti-custom-email-extension at master · cijujoseph/activiti-examples · GitHub
Ciju
07-05-2017 03:18 PM
What are those additional email header values you referring to? can you please give a few examples?
Ciju
07-05-2017 03:39 PM
Sure, the options are endless as email header values are key value pairs and you should be able to add anything you like.
Good useful examples are X-header. In general X-header can refer to any non-standard header added during the sending of an email. Some examples of X-headers are:
X-Protective-Marking
X-Mailer
X-Spam-Reason
X-Brightmail-Tracker
Of particular importance to me is the X-Protective-Marking as used is government emails to properly allow access through email filters. https://www.google.ca/url?sa=t&rct=j&q=&esrc=s&source=web&cd=5&cad=rja&uact=8&ved=0ahUKEwjlnJmS8fLUA...
Thanks,
Michael
07-05-2017 04:23 PM
That makes perfect sense. Since you are using APS (enterprise version), please feel free to raise a new feature request that will allow users to inject additional custom headers to all emails. A new custom extension point (Hook points | Alfresco Documentation) would be the simplest and easiest to solve this.
In the mean time, a workaround might be to use a service task/task listener/event listener etc to send emails where you can add additional headers when sending emails. eg: activiti-examples/activiti-custom-email-extension at master · cijujoseph/activiti-examples · GitHub
Ciju
07-06-2017 09:14 AM
Thanks Ciju!
Explore our Alfresco products with the links below. Use labels to filter content by product module.