Thx Stephan :-)

Can you plz upload it as diff to jira and grant ASF rights ..

Thx

bye
Norman

[EMAIL PROTECTED] schrieb:
> Hello again,
>
> for the issue with the recipients-parsing I posted a fix under:
>
> https://issues.apache.org/jira/browse/JAMES-662
>
>
> The code:
>
>         if header.startswith("To:"):
>             if extract:
>
>                 #to = header[3:]
>                 #to_addrs.append(to[("<" + to).rfind("<"):(to + 
> ">").find(">")])
>
>                 allRecipientsString = header[3:]
>                 allRecipientsArray = allRecipientsString.split(',')
>                 
>                 for recipient in allRecipientsArray:
>
>                   to_addrs.append(recipient[("<" + 
> recipient).rfind("<"):(recipient + ">").find(">")])
>  
>
>
> Enjoy!
> Stephan
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> !EXCUBATOR:1,4534a3ab53072021248839!
>   



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to