github / github/email_reply_parser

Microsoft Outlook headers not being detected in replies

Aberta
#69 2 comentários 3 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Ruby
Estrelas
708
Forks
156
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

Although https://github.com/github/email_reply_parser/pull/54 seems to fix one type of Outlook email reply, one with a quoted body, I don't believe that the following example reply from an Outlook mail client is currently working:

```
Outlook email reply with a team mention in the email body.

From: CRM Comments [crm-comment@example.com]
Sent: Friday, 23 March 2012 5:08 p.m.
To: John S. Greene
Cc: Jane Q. Codes
Subject: Re: [@organization/team] Discussion about mail replies. (#1)

Should the team mention from the subject line be parsed in the comment?

> Here is quoted text.
>
```

I've pushed up a test via https://github.com/github/email_reply_parser/commit/33ccba0a4b15a60db42bdbec56a9d6cb783ed6db that fails locally on the example fixture (pushed in https://github.com/github/email_reply_parser/commit/51639404b4e14eeba934d11bd77837136efdeab9).

In the example here, I believe only the following string should be returned:

```
Outlook email reply with a team mention in the email body.
```

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Comece com o fixture de exemplo e o teste com falha dos commits 33ccba0a4b15a60db42bdbec56a9d6cb783ed6db e 51639404b4e14eeba934d11bd77837136efdeab9. Reproduza o caso de resposta do Outlook e ajuste o parsing para que apenas o texto do corpo não citado seja retornado; em seguida, verifique se o fixture passa.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
ruby
Domínio
backend
Tipo de issue
Bug
Dificuldade
2/5
Tempo estimado
1-3 horas
Status de atividade
Estagnada
Clareza
Claramente especificada
Facilidade para iniciantes
35/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.