Customize Invite email message


(Arpit Jalan) #1

You can now customize Invite email message when inviting user to forum, topic or message.

The resulting invite email will look like:

Customize invite message also for "invite others to a topic"
Inviting existing users to topics
(Joshua Rosenfeld) #2

This worries me. If Discourse is checking for the link before sending, why not alert the user that they must include the link, instead of silently ignoring the message?

(Arpit Jalan) #3

Good point! Added on my list. :pencil:

(Jeff Atwood) #4

Agreed – or just prevent the button from being pressed, if that key string is not present in the text? That might be simpler.

(Sam Saffron) #5

My concern here is that people don’t understand templates.

Instead why not simply give them a dedicated spot in the invite for a “custom message” and then allow them to add it in here.

It just feels a little bit too flexible and “technical” this way to me.

(Jeff Atwood) #6

Sure, I support that – @techapj can you change it so

  1. When “custom message” is expanded, a textbox with some suggested copy is shown. No template, just plain text:

    Hey, I thought you might enjoy this topic!

  2. If user enters text, that is inserted into the template on their behalf in the {user_custom_message} template field or what have you.

(Felix Freiberger) #7

Note that this is also safer – with the current design, the sender could totally subvert the message, maybe even use it for spamming.

(Arpit Jalan) #8

Okay, done via:

Updated the OP to reflect the same.

(Kane York) #9

hmm, this message could be better:

FEATURE: user-friendly custom message · discourse/discourse@40e9e1b · GitHub

This invitation is from a trusted user, so you won’t need to log in.

How about something like this:

This invitation is from a trusted user, so an account will be created for you automatically.

You’ll get another email with instructions on how to sign in next time.

(Jeff Atwood) #10

Sure, I think that suffices; no need to add another extra line.

(jon r) #11

It just happened the invite notification does not arrive from a named From: address, which is even considered invalid:

Would it be a considerable, sane default to present the title as the sender of the invitation emails?

(Jeff Atwood) #12