SindhuKodikal
Novice

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

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

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

0 Kudos
Reply
8 Replies
Mivaro1
Novice

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

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

Reply
YUDI2
Novice

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

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

 

 

0 Kudos
Reply
NigelStratton
Scholar

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

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.

0 Kudos
Reply
SindhuKodikal
Novice

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

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.

0 Kudos
Reply
SindhuKodikal
Novice

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

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

0 Kudos
Reply
YUDI2
Novice

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

SindhuKodikal wrote:

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-doe...

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

0 Kudos
Reply
MikeInasolve
Novice

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

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.

0 Kudos
Reply
NigelStratton
Scholar

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

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

3e3b444a-9b78-4097-a8f3-8aba7f1c9580.png

 

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.

0 Kudos
Reply