[ 
https://issues.apache.org/jira/browse/NIFI-1148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15391296#comment-15391296
 ] 

ASF GitHub Bot commented on NIFI-1148:
--------------------------------------

Github user olegz commented on the issue:

    https://github.com/apache/nifi/pull/710
  
    Digging into the source code for it looks like something is out of 
compliance with POP3 protocol
    ```java
    if (line.startsWith("+OK"))
            r.ok = true;
        else if (line.startsWith("-ERR"))
            r.ok = false;
        else
            throw new IOException("Unexpected response: " + line);
        int i;
    ```
    So, it appears that the received message is not really compliant with POP3, 
but will dig some more in the AM


> Add processor to GetEmail supporting IMAP and POP3
> --------------------------------------------------
>
>                 Key: NIFI-1148
>                 URL: https://issues.apache.org/jira/browse/NIFI-1148
>             Project: Apache NiFi
>          Issue Type: New Feature
>          Components: Extensions
>            Reporter: Joseph Witt
>            Assignee: Oleg Zhurakousky
>             Fix For: 1.0.0
>
>
> It is fairly common that users want to be able to acquire data via email.  
> This means both IMAP and POP3.  POP3 is easier as it is a sort of fire/forget 
> model whereas IMAP involves more state handling.  But in any event both modes 
> are important to support.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to