You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2016/01/19 14:24:39 UTC
[jira] [Commented] (GERONIMO-6551) Unable to get message from
MessageIDTerm for Yahoo IMAP profile
[ https://issues.apache.org/jira/browse/GERONIMO-6551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15106695#comment-15106695 ]
Romain Manni-Bucau commented on GERONIMO-6551:
----------------------------------------------
Hi Aurelien, seems some yahoo servers are broken. Did you investigate this way?
> Unable to get message from MessageIDTerm for Yahoo IMAP profile
> ---------------------------------------------------------------
>
> Key: GERONIMO-6551
> URL: https://issues.apache.org/jira/browse/GERONIMO-6551
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: mail
> Environment: TomEE
> Reporter: aurelien leboulanger
>
> I am trying to get IMAP message from message ID with Yahoo IMAP server imap.mail.yahoo.com, inbox.search() is returning null.
> {code:java}
> Message[] msgs = null;
> MessageIDTerm[] searArr = new MessageIDTerm[]{new MessageIDTerm((String) strMessageID)};
> if (inbox != null && inbox.isOpen()) {
> msgs = inbox.search(searArr[0]);
> }
> for (int i = 0; i < msgs.length; i++) {
> System.out.println("Message: " + msgs[i]);
> }
> {code}
> I also try to use HeaderTerm for the search without more success.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)