manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1747737 - in /manifoldcf/trunk: CHANGES.txt connectors/email/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/email/EmailConnector.java
Date Fri, 10 Jun 2016 15:52:15 GMT
Author: kwright
Date: Fri Jun 10 15:52:15 2016
New Revision: 1747737

URL: http://svn.apache.org/viewvc?rev=1747737&view=rev
Log:
Fix for CONNECTORS-1322. Committed on behalf of Olivier Tavard.

Modified:
    manifoldcf/trunk/CHANGES.txt
    manifoldcf/trunk/connectors/email/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/email/EmailConnector.java

Modified: manifoldcf/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/CHANGES.txt?rev=1747737&r1=1747736&r2=1747737&view=diff
==============================================================================
--- manifoldcf/trunk/CHANGES.txt (original)
+++ manifoldcf/trunk/CHANGES.txt Fri Jun 10 15:52:15 2016
@@ -3,6 +3,9 @@ $Id$
 
 ======================= 2.5-dev =====================
 
+CONNECTORS-1322: Fix email connector "from" field.
+(Olivier Tavard)
+
 CONNECTORS-1318: Documentation errors.
 (KOIZUMI Satoru)
 

Modified: manifoldcf/trunk/connectors/email/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/email/EmailConnector.java
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/connectors/email/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/email/EmailConnector.java?rev=1747737&r1=1747736&r2=1747737&view=diff
==============================================================================
--- manifoldcf/trunk/connectors/email/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/email/EmailConnector.java
(original)
+++ manifoldcf/trunk/connectors/email/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/email/EmailConnector.java
Fri Jun 10 15:52:15 2016
@@ -578,7 +578,7 @@ public class EmailConnector extends org.
                 for (Address address : from) {
                   fromStr[j] = address.toString();
                 }
-                rd.addField(EmailConfig.EMAIL_TO, fromStr);
+                rd.addField(EmailConfig.EMAIL_FROM, fromStr);
 
               } else if (metadata.toLowerCase().equals(EmailConfig.EMAIL_SUBJECT)) {
                 subject = msg.getSubject();



Mime
View raw message