![]() ![]() * CAPABILITY IMAP4 IMAP4rev1 LOGINDISABLED STARTTLS UIDPLUS CHILDREN IDLE NAMESPACE LITERAL+ĭEBUG: protocolConnect login, host=myHost, user=myUser, password= * OK The Microsoft Exchange IMAP4 service is ready. Session = Session.getDefaultInstance(props, null) Īnd I am able to connect to this same server using an existing Outlook Webapp with the same credentials I am trying to pass to it in java.īut running this with tDebug(true) produces the following output: DEBUG: setDebug: JavaMail version 1.4.5ĭEBUG: getProvider() returning ĭEBUG: : 1000ĭEBUG: trying to connect to host "myHost", port 143, isSSL false Now I am trying to connect to the server using the Java Mail API like this: Properties props = new Properties() I am able to telnet to the server on port 143 (default IMAP port), telnet says: OK The Microsoft Exchange IMAP4 service is ready. I am trying to implement a Java Mail servlet, first step is connecting to the IMAP server. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |