WebSphere Portal Server - Automated maildetection?

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > April 2007 > Automated maildetection?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Automated maildetection?

2007-04-19, 1:23 pm

Hi,

I have a problem in case of developing a portlet for WebSphere Portal 6 in combination with Domino 6.5.x.

I want to create sth. similar to a mail-checker and so I need access to the maildatabase of the logged-in portal-user. The portal server uses the domino directory as ldap and Lotus Collaboration Services are also configured correctly.

Some portlets lika DWA implement a function called "automated maildetection" and sth like that I need also. I mean the path to the maildatabase of the logged-in user... but how can I get this path?

is that possible with the Notes-API or with the Collaboration Services API?

I hope you can help me Thanks a lot

Greets

Markus

2007-04-20, 7:20 am

Hi,

thanks for the URL to the Collaboration Services API.
But I didn't found any class or method in this API to implement such a maildetection. Perhaps you can give me a hint where to search in the API...

That would be great Thank you very much...
DV

2007-04-20, 1:27 pm

Option 1: If you are writing a custom portlet, you can user Domino Java API in your portlet (NCSO.jar) to get user's mail database by getting user info from PUMA ( this will allow you to get the user credentials).

Option 2: If you want to user Collaboration API (CS.jar) then you can use "DominoService" Java service object to communicate with domino. To get info on the api, go to your portal install directory ( e.g => D:\WebSphere\PortalServer\doc\Javadoc\ap
i_docs,
click on index and then pick from top left packages section pick "com.lotus.cs" and then the DominoService methods from the bottom picker, this will show you what you can do by using DominoService Object, you still have to setup your CSEnvironment.propert
ies file as well which is in => e.g D:\WebSphere\PortalServer\shared\app\con
fig )


-DV
dvpunia@decisionlabs.com
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com