[jira] [Updated] (NET-333) would you provide a class used for imap protocol?

2011-06-04 Thread Sebb (JIRA)

 [ 
https://issues.apache.org/jira/browse/NET-333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sebb updated NET-333:
-

Fix Version/s: 3.0

 would you provide a class used for imap protocol?
 -

 Key: NET-333
 URL: https://issues.apache.org/jira/browse/NET-333
 Project: Commons Net
  Issue Type: Improvement
Reporter: iceviewer
 Fix For: 3.0

 Attachments: IMAP.zip, IMAPMail.java


 would you provide a class used for imap protocol?

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (NET-333) would you provide a class used for imap protocol?

2011-03-23 Thread Bogdan Drozdowski (JIRA)

 [ 
https://issues.apache.org/jira/browse/NET-333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bogdan Drozdowski updated NET-333:
--

Attachment: (was: IMAPMail.java)

 would you provide a class used for imap protocol?
 -

 Key: NET-333
 URL: https://issues.apache.org/jira/browse/NET-333
 Project: Commons Net
  Issue Type: Improvement
Reporter: iceviewer
 Attachments: IMAP.zip


 would you provide a class used for imap protocol?

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (NET-333) would you provide a class used for imap protocol?

2011-03-23 Thread Bogdan Drozdowski (JIRA)

 [ 
https://issues.apache.org/jira/browse/NET-333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bogdan Drozdowski updated NET-333:
--

Attachment: IMAPMail.java

I only needed to add a TrustManager (now since we don't have a default). And it 
works for me:
{noformat}
[bogdan@orion Commons-Net]$ java -cp 
.:/home/bogdan/RPMS/java/commons-net-2.2/commons-net-2.2.jar IMAPMail 
imap.gmail.com bogdan bogdan TLS 
Using secure protocol: TLS
Connecting to server imap.gmail.com on 993  
Could not login to server. Check password.   
[bogdan@orion Commons-Net]$ java -cp 
.:/home/bogdan/RPMS/java/commons-net-2.2/commons-net-2.2.jar IMAPMail 127.0.0.1 
bogdan bogdan TLS 
Using secure protocol: TLS
Connecting to server 127.0.0.1 on 993
Server capabilities:  
* CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT 
SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN 
NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT 
SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS   
AAAB OK Capability completed. 
Selected inbox:
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft)  
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] Flags 
permitted.
Examined inbox:
* 0 EXISTS  
* 0 RECENT   
* OK [UIDVALIDITY 1269775345] UIDs valid 
Inbox status:
* OK [UIDNEXT 17] Predicted next UID 
{noformat}

By the way, since the default TrustManagers have been removed, the POP3Mail 
example has stopped working on SSL/TLS connections and needs to be changed, too.

I didn't change the javadoc. It can be change while committing to svn, but I 
can change it if you want.

 would you provide a class used for imap protocol?
 -

 Key: NET-333
 URL: https://issues.apache.org/jira/browse/NET-333
 Project: Commons Net
  Issue Type: Improvement
Reporter: iceviewer
 Attachments: IMAP.zip, IMAPMail.java


 would you provide a class used for imap protocol?

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (NET-333) would you provide a class used for imap protocol?

2011-03-22 Thread Bogdan Drozdowski (JIRA)

 [ 
https://issues.apache.org/jira/browse/NET-333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bogdan Drozdowski updated NET-333:
--

Attachment: IMAPMail.java

Here is a simple class that demonstrates the use of the IMAP protocol classes 
provided in the ZIP package. Is simply logs the user in and performs a few 
commands on the inbox folder. Like in the IMAP classes, there is no reply 
parsing, the program simply displays what the server has sent. I don't know the 
IMAP protocol very well, hence this is as it is right now. The IMAP classes 
should be extended one day (either by me, but later, or by someone who knows 
the protocol better) to provide server reply parsing, so the user gets more 
friendly erplis (like the number of messages or something like that). The 
example class has been tested with dovecot, the IMAP classes have been tested 
with dovecot and cyrus-imapd.

 would you provide a class used for imap protocol?
 -

 Key: NET-333
 URL: https://issues.apache.org/jira/browse/NET-333
 Project: Commons Net
  Issue Type: Improvement
Reporter: iceviewer
 Attachments: IMAP.zip, IMAPMail.java


 would you provide a class used for imap protocol?

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (NET-333) would you provide a class used for imap protocol?

2011-03-21 Thread Bogdan Drozdowski (JIRA)

 [ 
https://issues.apache.org/jira/browse/NET-333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bogdan Drozdowski updated NET-333:
--

Attachment: IMAP.zip

Basic functionalicty included: connecting, authentication, SSL/TLS. All 
commands supported, no reply parsing (except for the return code - OK, ERROR, 
...), some enums for easier use.

The Authenticating client constructors delegate to IMAPS constructors, this may 
be unneeded.

When entering secure mode, not only the socket and the corresponding 
input/output streams are replaced, but also the bufferred reader+writer. This 
wasn't done in SMTPSClient and POP3SClient (and they seemd to work), but was 
done in FTPSClient and IMAPSClient doesn't seem to work without this. Which way 
is correct (I'd guess that FTP)?

 would you provide a class used for imap protocol?
 -

 Key: NET-333
 URL: https://issues.apache.org/jira/browse/NET-333
 Project: Commons Net
  Issue Type: Improvement
Reporter: iceviewer
 Attachments: IMAP.zip


 would you provide a class used for imap protocol?

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira