Send an email through K2 workflow using a different FROM address

  • 3 March 2020
  • 4 replies
  • 108 views

Hi Guys,

 

I need to change the 'FROM' address for our emails as K2 sends it using the service account. I tried making the change to the K2 Hostserver log file and to the Environment library but nothing worked. Could you please let me know If it's possible for us to send an email using a different 'FROM' address?

 

Regards,

Jerryl Davis


4 replies

Userlevel 3
Badge +16

Yep, can be done, however it depends on what your purpose is.

 

I had a requirement to send emails using a potential reply address, so we had to assign "SEND on behalf off" permissions in AD for that specific account, this allows it to be used in Both Form Email Rules and Workflows.

Just be aware though, K2 removed the Send Email permisions as a different user, we had it re-instated, but may not be supported in a future version.

 

Regards

Good day jerryl


 


Alternatively, you can ask your Mail Server Admin to create an alias for the K2 Service account if you cannot. Replace the address in “From” of K2 Service in Environment Library and in String Table. If you want to also change the “Display name”, you will need to create a user/ account in AD that uses that alias e-mail address.


See the following too for more details.


String Table: https://help.k2.com/onlinehelp/k2blackpearl/userguide/4.7/default.htm#K2_Management_Site/Workflow_Server/String_Table.htm,


“Change default from address”: https://community.k2.com/t5/K2-Five/Change-default-from-address/td-p/114017,


“From Email Address Aliasing”: https://community.k2.com/t5/K2-blackpearl-Articles/From-Email-Address-Aliasing/ta-p/79115,


“Email Display Name”: https://community.k2.com/t5/K2-Five/Email-Display-Name/td-p/114919.


 


Best,


Sunrise

Badge +7

I was assuming you are on-prem. In K2 cloud, you will need to request the change by logging a ticket to K2. K2 operations may be able to make the changes for you.

Hi Guys,

 

Thank you so much for your response.

I did check try to change the FROM address in the environment library and the string table and even re-activated the site collection but it still did not work. I also tried to send the email by adding a different from address, which was similar to the one that I had added to the environment library.

Reply