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
>
> ___________________________________________________________________________
> 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

___________________________________________________________________________
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