Skip to main content

(NOTE THIS IS NOW AN OUT-OF-THE-BOX FEATURE AS OF K2 5.1)

 

This broker is no longer being maintained! 

 

 

Like Outlook but in a SmartObject. Supports Office 365. This Service Broker allows K2 to connect to a specified Mailbox on Exchange and perform the following actions through SmartObjects:

 

 


  • List emails in any folder including Inbox, Drafts, Sent Items and any custom folder
  • Move emails between folders
  • Delete Emails Permanently or Move them to the Delete Items Folder
  • Read a specific email
  • Get all of the attachments on a specific email including the inline ones
  • Create Draft Emails
  • Create Reply/Forward Draft Emails
  • Attach Files to Draft Emails. You can also mark attachments as inline and use them as
    part of the body of the email
  • Send Draft Email
  • Send New Email Directly (No attachments)
  • (NEW) Supports Exchange Online / Office 365
  • (NEW) Can be configured to impersonate to access currently logged on user's mailbox
  • (NEW) Supports Shared Mailboxes.

     

 

 

This is very useful for when you want to develop a Mailbox Centric solution where the users typically send information/attachments to the system via email. 

 

 

 

 

 

This is also useful where you want to send emails to users from a specific mailbox and not the K2 Service account one. Typically, when you have many solutions on a K2 environment you might want each system to communicate with users from a different email address.

 

 

 

 

 

The current version  only supports the most basic features for Reading and Sending emails and some basic support for attachments. Future versions might include support for more features like Calendar Items, Meeting Requests, etc. 

 

 

11561iCAA7DA5689F4EC3B.png

 

are you able to asssit with getting it to read folders on the same level?

 

and what was the deal with shared mailbox?  i didn't use that part, nor do i know how

 

is there any doco on how to use this broker?


@Migaelm 

"NOTE THIS IS NOW AN OUT-OF-THE-BOX FEATURE AS OF K2 5.1"

I believe out-of-box feature refers to Exchange Online service type?

 

Would you know if emails from shared mailbox (inbox/sent folders) can be read using out-of-box functionality?

 

Thanks!


Hi  @Robert_Nicholas 

 

Referring to your post in 2017

 

"When I use this object as part of a K2 studio workflow, even if I set the parameter to the shared mailbox I want to pull from, it only will pull in my own emails from MY inbox on exchange, not the shared mailbox I want it to pull from...

 

HOWEVER

 

When I test it in the Smart Object Service Broker and use the shared email box in the parameters there, it works perfectly. "

 

You mentioned later that issue got resolved. Please can you share what was the resolution if you can remember?

I have same issue it K2 5.3

 

Thanks


@kanwarnitin 
 
 
 
  
No, the out of the box functionality does not support shared mailboxes.  So, at the top where it says this broker is part of 5.1 is incorrect.  
 
 
 
  As far as resolving my issue above, I honestly don't remember what I did.  I believe the issue was at the security/permissions level.  As I recall I worked with my exchange admin to ensure that the mailboxes we used had full ownership permissions by the K2 service account.  He had to do something on his end to ensure that.  
 
 
 
Finally, pulling in emails to your smart object is tricky anyway in workflow.   I can show you if you're interested.

 


@Robert_Nicholas 

 

Thank you for prompt reply

 

Since I am able to retrieve emails from shared mailbox in a list view, I thought that Workflow should be able to do it as well using the same SmO. Apparently, SmO behaviour is different when used in a View and a WF. 

By the way, in the SmO setup, only Static authentication method works for me and I have to use username as passowrd of Service Account; ServiceAccount authenication doesn't work - if this gives any clue. Not ideal way of authenticating but for now I'm trying to make this work.

 

I'd be very interested to know how you pulled email data in WF and how you further processed each item in the list. That would be very helpful. 

 

Cheers!

 


Hi,

Where I can find the source code for this?


Reply