Send E-Mails from XPages leveraging the Embedded Experience in IBM Connections Mail

By Niklas Heidloff, posted on Nov 22, 2012

The OpenSocial specification defines a so called gadget embedded experience and a generic URL embedded experience for feeds, activity streams and mails. The URL embedded experience allows web sites to be displayed without having to implement gadgets.

The video below shows how e-mails can be sent from XPages applications that contain the MIME content type "application/embed+json" which contains a URL to a web site. I've used code from Mark Leusink from OpenNTF to do this. I had to add some lines of code that you can find in the comments of Mark's snippet. Similarly my colleague Martin Donnelly demonstrated (17:00 min) a preview of a xp:sendMail action.

Here is a screenshot showing the latest news from Collaboration Today which fit nicely in the embedded experience since the site has a responsive design.

comments powered byDisqus

Hi, my name is Niklas Heidloff. I work for IBM as an IBM Bluemix Developer Advocate. The blog contains information about IBM Bluemix and articles about my previous work in IBM Collaboration Solutions, esp. IBM Connections and XPages.



The postings on this site are my own and don't necessarily represent my employer IBM's positions, strategies or opinions.