We allow our members to start new topics via email, which are only pushed through if the email address they are sending from is already subscribed to our Forum. When it is not, the person attempting to send the email receives an automated message. Is there a way to customize that message?
What is it you want to say?
Take a look in Transifex Explore Projects - I also would be interested in learning more about how to change these permanently for my own system if I ever need to, but if you see things that need improving let us all know so they can be improved for everybody.
I just had some fun talking to a board member of my organization about these messages which I am frankly quite happy to see are working and have been expanded to explain whatās going on to the sender when things go wrong.
He got this message back when writing in about dates for a board meeting:
Weāre sorry, but your email message to [āDELETEDā] (titled Re: [Kabissa] Scheduling Q2 2014 Kabissa Board Meeting) didnāt work.
Reason:
Body is too short (minimum is 20 characters)
If you can correct the problem, please try again.
His reply to me:
Not sure what to do about this. I guess that I could try to be more eloquent to get up to 20 charactersā¦
I wrote:
yeah, this is actually a good thing - a āfeatureā of our discourse system. It encourages longer texts to prevent people from using it like a glorified chat system which is what you were trying to do.
itās still new software in beta though so this is good feedback. I will pass it along.
and finally:
Chat is what Iām all aboutā¦ NOT
Itās the only time that Iāve ever been told āBody is too short.ā
Heās very tall so we both got a giggle about this.
Cheers,
Tobias
This may go without saying, but there is a way to customize that message by digging into the Discourse code. However that poses two issues (possibly):
- Will the changes persist through Discourse version updates?
- Not everyone has the wherewithal to dig in and modify code (especially on their production instance).
Lauren is looking for a way for an average Discourse administrator to be able to modify this email template. I imagine it belongs in a bigger discussion of allowing customization of all content templates, but for now, we can just stick to the rejection email template.
/config/locales/server.en.yml Line 1448
Yeah Iām currently re-applying my changes to the server.en.yml with every upgrade. Itās not the best, but itāll do.
The biggest issue is that the upgrade process git-resets hard (no stashing) so if I ever forget to save my edited file before or after upgrading, Iām set back a ways.
You can override local settings using a plugin