The Artima Developer Community
Sponsored Link

Web Services Forum
Email clients and web based email

3 replies on 1 page. Most recent reply: May 16, 2002 2:58 AM by yu

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 3 replies on 1 page
Hiran

Posts: 41
Nickname: jclu
Registered: Mar, 2002

Email clients and web based email Posted: Apr 18, 2002 11:26 AM
Reply to this message Reply
Advertisement
Is there an easy way for my app to access web based email services? I'm using Java, and I know that java has classes to help with POP3 and SMTP. But what if I wanted to login into and retrieve emails from web based services (like Hotmail). Is there any way to do it apart from retreiving and parsing the HTML files for the appropriate links and following them? Thanks.
Hiran

PS. This post might be better suited to the Java Answers Forum, but I wasn't sure, so I decided to place it in this forum.


Frank Sommers

Posts: 2642
Nickname: fsommers
Registered: Jan, 2002

Re: Email clients and web based email Posted: Apr 19, 2002 11:11 PM
Reply to this message Reply
Hi Hiran,

Actually, your post is directed to the right forum. What you want, indeed, indicates the main raison d'etre for Web services. SMTP, POP, or IMAP are service-oriented network protocols: they expose well-defined functionality to clients over the network, and you want software (your email client) to directly access these services.

However, I don't think Web-based email providers offer this service yet, at least, not for free. Here's Yahoo's policy, for instance:

http://help.yahoo.com/help/us/mail/pop/pop-02.html

Obviously, most ISPs offer direct POP or IMAP access to their email services. In Yahoo's case, they offered email forwarding to a real ISP for free; now they charge for this service.

I guess this really doesn't help you, but it does make a good point for Web services: To have is a proxy out on the network representing your email account. Regardless of how you connect to the network, you'd like to find that proxy and invoke methods on it in support of reading your mail. Then you can have a servlet process those method invocations and format the messages into HTML, or have Eudora or Netscape or Lookout (sorry, Outlook) display them. Either way, those intermediate components would interact with the same proxy instance, coming through the wire into the execution space where the mail client needs to have access to those services. And that proxy could adapt to whatever communications protocol is most appropriate for the environment -- maybe HTTP, BlueTooth, plain TCP, SOAP, whatever. That would be completely hidden from the mail client.

I guess you did post this to the wrong forum -- it should have gone to the Jini Forum :-) Or maybe not.



> Is there an easy way for my app to access web based
> email services? I'm using Java, and I know that java
> has classes to help with POP3 and SMTP. But what if I
> wanted to login into and retrieve emails from web
> based services (like Hotmail).
>Is there any way to do
> it apart from retreiving and parsing the HTML files
> for the appropriate links and following them?
> Thanks.
> Hiran
>
>PS. This post might be better suited to the Java
> Answers Forum, but I wasn't sure, so I decided to
> place it in this forum.

Hiran

Posts: 41
Nickname: jclu
Registered: Mar, 2002

Re: Email clients and web based email Posted: Apr 20, 2002 7:45 AM
Reply to this message Reply
Thanks for the reply. Just a question though: I've heard of IMAP, but when is it used? And I guess in order to access Web-based email services, I would have to do the same thing that a browser does: That is, using HTTP retrieve the HTML pages, parse them and follow the links?
Hiran

yu

Posts: 2
Nickname: learner
Registered: May, 2002

Re: Email clients and web based email Posted: May 16, 2002 2:58 AM
Reply to this message Reply
you can use JMail 1.0 , it is make sending and receiving mail so easy.
you can download here
http://toyukin.myetang.com/download

Flat View: This topic has 3 replies on 1 page
Topic: Problem related to RMI and EJB Previous Topic   Next Topic Topic: Jini ServiceRegistrars in the Internet ?

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use