Chris Pratt wrote:
>
> I didn't say you *can't* do it, my opinion is why have the web server doing
> something that's not related to serving web pages.  That's better left to
> another process.  If that process can be done with just an IMAP server then
> you're one step ahead.

Assume you are not on an Intranet.
Then you need an IMAP client configured for your preferences
wherever you go
*and* you need access through your firewall for IMAP - not
as common as access to a web server.

In general, the reason to add a web server to the IMAP server is
ease of access from the outside.

Nitin Borwankar,
[EMAIL PROTECTED]





>     (*Chris*)
>
> ----- Original Message -----
> From: Nitin Borwankar <[EMAIL PROTECTED]>
> To: Chris Pratt <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Thursday, March 18, 1999 4:11 PM
> Subject: Re: Accessing IMAP Mail From a Servlet
>
> > Chris Pratt wrote:
> > >
> > > I'd start with JavaMail (http://java.sun.com/products/javamail).  But, I
> > > don't think you actually want the Servlets to be doing this work.  You
> > > should probably have a robot process collecting the email submissions
> and
> > > putting them in the data store.  Then the servlets job is to pull data
> from
> > > the data store and display it on the client.
> > >     (*Chris*)
> >
> > Actually you *can* do this using IMAP.
> > The IMAP folder *is* the "data store" as far as JavaMail is concerned.
> >
> > I have successfully created a collection of HTML generating
> > servlets that when pointed to an IMAP-accessible e-mail account will
> >
> > a) create an HTML table listing all the folders in your email directory
> >    - each folder is pointed to by an HTML link that when clicked invokes
> >    another servlet which then :-
> > b) creates an HTML table summarising the contents of the IMAP folder
> >    (an email table-of-contents) with each message an HTML link
> >    which when clicked :-
> > b) fetches the message and displays it. (currently works for text only)
> >
> > This is very much OK for an IMAP store.
> > The IMAP server just sees an IMAP client (the JavaMail code) like
> > it would for Pine or Netscape or Outlook.
> >
> > These servlets form the basis of a group discussion framewrok based
> > compleetly on email.
> > It allows individuals to create their own personal discussion
> > hierarchies without
> > the need for a separate discussion server such as a Usenet server or
> > Lotus Notes.
> > It's called gMail (for group mail).
> >
> > Nitin Borwankar,
> > [EMAIL PROTECTED]
> >
> > >
> > > ----- Original Message -----
> > > From: Jay Macarty <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Thursday, March 18, 1999 1:01 PM
> > > Subject: Accessing IMAP Mail From a Servlet
> > >
> > > > I am developing a bulletin board servlet. One requirement is that
> users
> > > can
> > > > post new items to the board by sending an Email to a specific mailbox,
> say
> > > > BBS. Our mail server is an IMAP server from Netscape.
> > > >
> > > > Can someone point me in the direction of how to allow my servlet to
> check
> > > > for and read new mail on the server?
> > > >
> > > > ------------------------------------
> > > > Jay Macarty - Technical Services
> > > > Email: [EMAIL PROTECTED]
> > > > Phone: (972) 591-7385
> > > >
> > > >
> > >

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to