how to know the protocol from servlets

Posted by Dusk on Stack Overflow See other posts from Stack Overflow or by Dusk
Published on 2010-04-03T10:30:49Z Indexed on 2010/04/03 10:33 UTC
Read the original article Hit count: 307

Filed under:
|
|
|

If I need to get inbox messages by passing request from servlets to javamail API , how can I know the protocol in which to retrieve inbox messages? Do I have to state the protocol in request URL?

I've already checked in gmail, where they haven't stated any protocol, then How can I get inbox messages based on particular protocol like: POP3 or IMAP

© Stack Overflow or respective owner

Related posts about java

Related posts about servlets