Question

How to modify the "FromAddress" in K2 Five "send e-mail" rule in K2 Smart forms?

  • 5 October 2020
  • 8 replies
  • 153 views

Badge +2

Can we have two different “From Addresses” configured in the Management?

If yes, can I know the process to be followed?


8 replies

Userlevel 1
Badge +4

Hello @SindhuKodikal 

 

Please refer to the following KB article depending on what you’re trying to achieve: https://help.k2.com/kb003440

 

I would suggest going to ideas.k2.com to check if an existing feature request exists for this functionality.

 

Regards,

Michelle

Userlevel 1
Badge +4

You can create environment variable let say FromAddress2 in K2 Management,  then use it as sender in email notification or task notification.

 

 

Userlevel 2
Badge +4

If you go to the cloud you can’t set the From address in an email task in a workflow, nor do you have custom env vars. We needed to use the Exchange Online REST smartobjects to customize the From.

Badge +2

Hi  YUDI2

Thank you. I tried giving in the Environment variables and use the same in the From of the Email Task in workflow.

It gives me the below error:

SourceCode.Workflow.Common.EWS: The e-mail address **** does not have ‘send on behalf of’ permissions on Exchange.

Badge +2

Hi NigelStratton

We are using K2 Five. 

I do not find any Exchange Online REST smartobjects in the list of out-of-the-box brokers. 

Can you suggest any way to have these?

 

Thanks and Regards

Sindhu Kodikal

Userlevel 1
Badge +4

Hi  YUDI2

Thank you. I tried giving in the Environment variables and use the same in the From of the Email Task in workflow.

It gives me the below error:

SourceCode.Workflow.Common.EWS: The e-mail address **** does not have ‘send on behalf of’ permissions on Exchange.

Please refer this to troubleshoot, the permissioning.

https://help.k2.com/kb002613

https://community.k2.com/archived-articles-108/sourcecode-workflow-common-ews-the-e-mail-address-does-not-have-send-on-behalf-of-permissions-on-exchange-77127

https://help.k2.com/onlinehelp/k2blackpearl/icg/4.7/default.htm#plan/required_permissions.htm

Badge

Hi Yudi2,

I believe you can send on behalf of if you’re just using SMTP, but if you have exchange integration enabled then on exchange you can create other mailboxes e.g. noreply@domain.com

You can then give the K2 service account send on behalf of permissions on this mailbox.

We have a customer setup with different mailboxes for different departments (approx. 10) and K2 can send emails as all of these different email addresses.

Then in the workflow you can use the other mailbox to send emails from because K2 has send on behalf of access.

Userlevel 2
Badge +4

Configure a new Exchange Online service instance. All the smartobjects are automatically created, you’ll need to use these.

 

Mike is correct. You need to grant send on behalf of.

In our case where we’re using Exchange Online, messages were sent using an ops account. Each person who sends the email requires the permissions to send as the operational account. In other words, we had a list of people who could use the operational to send an email. If a person wasn’t in that list they’d get the “Can’t send on behalf of” message.

Reply