manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Furkan KAMACI (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CONNECTORS-1407) Properly Extract From and To Fields
Date Thu, 13 Apr 2017 15:04:41 GMT

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

Furkan KAMACI commented on CONNECTORS-1407:
-------------------------------------------

[~kwright@metacarta.com] I think that this is the right way to handle it:

{code:java}
Pattern.compile("<(.*?)@(.*?)>");
{code} 

When you check [RFC5322|https://tools.ietf.org/html/rfc5322] You can also check: [here|https://social.technet.microsoft.com/Forums/azure/en-US/69f393aa-d555-4f8f-bb16-c636a129fc25/what-are-valid-and-invalid-email-address-characters?forum=exchangesvradminlegacy]
Do I miss anything?

> Properly Extract From and To Fields
> -----------------------------------
>
>                 Key: CONNECTORS-1407
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1407
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Email connector
>    Affects Versions: ManifoldCF 2.6
>            Reporter: Furkan KAMACI
>            Assignee: Furkan KAMACI
>             Fix For: ManifoldCF 2.7
>
>         Attachments: CONNECTORS-1407.patch
>
>
> From and To fields include username / surname pair if user is known or e-mail. i.e.
> "Mike Donua <make.donua@contoso.com>"
> "richard.eloma@unknown.com <richard.eloma@unknown.com>"
> We should extract e-mail addresses if this pattern exists. However, From and To fields
are not extracted such way.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message