O'Reilly logo

Liferay Portal 5.2 Systems Development by Jonas Yuan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding mail and chat portlets

There are two basic requirements for My Social Office. First, we should be able to manage emails and send messages to any friends via email engine. Before using the mail engine, we should be able to configure the mail page with a specific mail server. Meanwhile, we should be able to know the number of online friends and chat with them at any time.

Setting up the mail portlet

Liferay portal has unified the configuration of JavaMail so that it's the same for all application servers. It involves an SMTP server and an IMAP server. As shown in the following screenshot, a user in Book Street of My Social Office could manage his/her emails.

Note

JavaMail API provides a platform-independent and protocol-independent framework ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required