--

On Fri, Jul 09, 1999 at 06:36:46PM +0000, Craig R. McClanahan wrote:
> Sun JunXu wrote:
> > if I want to create a web-based mail receiver,like as hotmail interface, do
> > I need to use java mail?
> For a very simple send-only interface, the required protocol is so simple that
> you probably don't need JavaMail -- it's about 100 lines of code to connect to
> the server and send the message.

        It's about 20 lines of code to use JavaMail for send-only;
about 30 if you need to attach a file. Reading in JavaMail is relatively
easy -- as long as you have a good provider (a provider is analogous to
a JDBC driver).

        I used to just recommend JavaMail for being standard. Last
week a client wanted to send 90 sales reps promotional reports -- as
attachments -- so I pulled together what I had for JavaMail. Now I'm
_impressed_ by its simplicity and power.

        The only drawback is that it requires the Activation framework
as well as JavaMail. That's only a problem if you're _really_ tight
for server space.

        I can pull together some examples if anyone's interested;
the best way to learn it is to at least skim the RFC's then read the
docs and put together a test program.

-- 
Robert Crawford                 [EMAIL PROTECTED]
http://www.iac.net/~crawford



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to