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 Likes

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 Likes

I think most people forwarding a message to the forum will follow email conventions, which include prepending "Fwd: " and "Re: " to forwards and replies. However, forum content uses a different convention of not including the prefixes. Therefore, I think the email receiver should do the conversion.

Some Discourse importers already support removing these prefixes:

https://github.com/discourse/discourse/blob/ae114a6ee8f2e4f9abd1bbd536d34e6bc55fea23/script/import_scripts/mbox/settings.yml#L46

3 Likes

I would definitely expect users to fail to do this, and I would have expected discourse to do it automatically.

2 Likes