Email in should strip Fwd's and Re's when creating a new topic

As a user, I want to be able to forward an email message to Discourse to start a discussion, without having the topic include all the “FW:”, “Fwd:”, “RE:”, etc. cluttering up the topic line, so that it’s easier to read what the topic is without the useless email junk.

Saw this today when someone forwarded a message to start a discussion about a document he received. There was about 15 characters of junk that I ended up stripping out of the topic title.

3 curtidas

Why not just edit the subject line before posting? Or go back later to clean up the post?

It’s something that could be done by Discourse automatically and reduce an admin’s workload (and keep things nice and tidy from the off)

Can you propose a regex here? This might be tricky with nested fwd: re: etc and how many variants? Also needs localization does it not?

Here’s a good start:

4 curtidas

Acredito que a maioria das pessoas que encaminha uma mensagem para o fórum segue as convenções de e-mail, que incluem adicionar "Enc: " e "Re: " aos encaminhamentos e respostas. No entanto, o conteúdo do fórum utiliza uma convenção diferente, sem incluir esses prefixos. Portanto, acho que o receptor do e-mail deve realizar a conversão.

Alguns importadores do Discourse já suportam a remoção desses prefixos:

3 curtidas

Com certeza esperaria que os usuários falhassem em fazer isso, e eu teria esperado que o Discourse fizesse automaticamente.

2 curtidas

Tenho tido alguns problemas com isso ultimamente. Talvez adicionar algumas configurações como esta em sitesettings para permitir que o administrador defina quais prefixos devem ser removidos?

1 curtida

Ok, finalmente resolvi meu problema escrevendo meu próprio plugin. Acho que isso resolve parcialmente o problema neste tópico

1 curtida