Symptoms
Is there a configuration parameter to set the default sender from email? The current Sender Email is set to system@k2.local. For example, when a workflow is submitted and K2 sends an email to the user in the workflow to action on the task, how can I set a specific email for it?
Diagnoses
The From address in the Environment Library was system@k2.local and not the desired Email address.
Resolution
Modified the From address in the Environment Library as well as in the K2 HostServer.config.exe file.
K2 Workspace > Management > Server_name > Environment Library > Default Environment > From Address environment field.
K2HostServer.exe.config
<sourcecode.eventbus mailassembly..... sendmailfrom="k2service@denallix.com">
This allows the desired Email address in the from field in both user task alert emails and in email events.