Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Mail portlet is capable of fetching email headers from any IMAP server or POP server, although this version of the portlet has unacceptably slow POP mail retreivalthe portlet may display a timeout error to the user in the mail pane for POP servers when there is a lot of email in the user's INBOX. This portlet is not intended to be a rich email client, but rather a dashboard with a quick view of some of the most recent email headers received.

...

There is no certain roadmap to the MailPortlet's future, but after Duke finished up with the pre-release version(s) in Fall 2009, Yale (Jen Bourey) will likely may become actively involved in its further development. Not aware of the Future features/functionality to be added other than they might bear some similarity to Calendar and News portlets per discussionare TBD.

Procurement

The To get the latest pre-release version that is almost sure to be changed much more before final release is:of the source:

Code Block
svn co https://www.ja-sig.org/svn/sandbox/MailPortlet/tags/rel-2.0.0-alpha-5

To get the latest dev development version of the source (which may not build and may be buggy and/or unstable):

...

Code Block
mvn clean install

Deploying

Your The built portlet (war) is in the target directory that you can then deploy . It will need to be deployed in the method specified by your JSR-168-compliant portal.

If you are using uPortal, you may via uPortal with deployPortletApp or whatever the approved method for "plutofication" and deployment is for your version of uPortal.

Note that it won't work until you at the very least specify a key for the password encryption in its Spring config . Keep reading...as described below.

Configuration/Customization

This portlet has Spring XML and properties-based configuration, so you should be able to change all relevant parameters in XML and properties files rather than changing the source code.

...

Info

For each of the configuration steps below, you'll either need to restart your webapp server after your changes or in the case of an overlaid portlet. If you are just doing an overlay of your portlet, you can often just redeploy the portlet without a webapp server restart.

...

For a full list of supported dialects, see the Hibernate 3.2.6 docs. For example JDBC strings see Chui's counterpoint. For other examples, see this example in Bedework.6 docs. For example JDBC strings see Chui's counterpoint. For other examples, see this example in Bedework.

Schema Creation and Updates

Option 1 - Let Hibernate Create and Update the Schema

It is assumed by default that the user you set in datasource.properties has rights to create and update the tables it needs to in the database automatically.

Option 2 - Autogenerate SQL and Execute SQL By-hand to Create/Update SQL

To generate the SQL for your database, alter the datasource.properties and rebuild. The SQL will be output during the build in the build output. Unfortunately if you are using an overlay build, this change will still need to happen in the original MailPortlet build.

If you are updating MailPortlet to a new version that requires changes to the database, we don't provide the database migration SQL. You will have to look at the SQL it uses for the new creates and generate the SQL for updates by hand.

Specifying Custom Mail Account Templates

...

We suggest that this attribute contain a password that a token that can only be used for the current login session. Passing in a plain-text password via UserInfo is probably not a good idea (for example- what if there were something outputting UserInfo to the screen for debugging purposes in another portlet- then the mailpassword would show up on the screen).

CSS

Starting with MailPortlet v2.0.0-alpha-5, we're trying We tried our best to use some sort of uPortal standard styling that would be most compatible with existing and custom skins.

...