How to change the account confirm email content

AI-generated summary

The discussion addresses how to customize the account confirmation email text in Discourse. sijokg initially asked for instructions on changing the default welcome message. codinghorror explained that not all emails are customizable yet, directing users to the Admin panel’s Customize, Text section.

Mittineague suggested a technical workaround involving overriding the server.en.yml file via a plugin, providing a code snippet for the signup message. However, when sijokg requested specific details on the file location and plugin, Mittineague strongly advised against it, warning that incorrect implementation could crash the site or stop emails entirely. They recommended waiting for native support in the Admin panel.

Several users, including strager, Jared_Needell, Liza_Conrad, and mwahnish, emphasized the importance of this feature for personalization and support. The thread concluded with updates from watchmanmonitor and eviltrout, confirming that the ability to customize system emails has been implemented and is now available via the admin interface.

Hi,
Can you please tell how can I change the welcome email text sent to a user upon first signup that starts like
“Welcome to Discourse!Click the following link to confirm and activate your new account:…”

Thanks

Not all email text can be customized yet. See Admin, Customize, Text for what can.

Do you mean easily customized via the ACP?

Could not the server.en.yml file be over-ridden by a plugin? (even if recommended to not)

en:
  system_messages:
    signup:
      subject_template: "[%{site_name}] Activate your new account"
      text_body_template: |
        Welcome to %{site_name}!

        Click the following link to confirm and activate your new account:
        %{base_url}/users/activate-account/%{email_token}

        If the above link is not clickable, try copying and pasting it into the address bar of your web browser.

Beware the indentation! the above as displayed is not correct.

I think it should work for simple text changes. Though probably not if the intent is to “spruce up” the email with images etc. That would risk sending NO emails or worse

I did not understand this. Where is server.en.yml file. And which plugin is to be used. Can you please tell in details?

Thanks

Sorry, but if you don’t understand then you most definitely should not attempt it.

It’s tricky enough business even with understanding and doing it wrong can have dire consequences

The “worse” being crash your site

Best to have patience and wait until editing it gets worked into the ACP Customize interface.

Being able to customize the emails actually is very important - I’m surprised this wasn’t prioritized over a lot of the stuff that’s been added in recent updates.

Any updates on this?

Would also love to be able to customize message to sent to flagged users. Anyone know how?

I’d also like to second that it is important to be able to edit the confirmation email. This is the first email that is sent by the forum. It’s important to personalize. Thanks!

Also slated to be done:

It’s been :ship:'d

Also, now any text in Discourse can be updated via the admin interface.