nextcloud / nextcloud/server

Allow customizing the new-user greeting email via an external template directory

Open
#45,741 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage enhancement feature: emails
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

There are some questions in the support forum about how to change the greeting email. The answer: not, or with a purchased app.

I have a suggestion as to how to change this without changing a file in the installation that would be overwritten with the next update.

There is one item that I can change: the skeleton, the folders, files and messages that are written to the area of ​​newly created users. For this there is the variable ‘skeltondirectory’ in the config.php, which points to a folder outside the installation. Ideally into the administrator’s folder, so that he can edit this folder directly.

Why not introduce a variable called ‘greetingmaildirectory’ that does the same for the greeting email. The folder could contain an “html” file with


<html>
<p>
Example text
</p>
</html>

This page could be edited as desired and is then used as the body for the greeting email.

Spielmops

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the new-user greeting email implementation and the config.php handling for the skeleton directory. Define how an external greeting-mail directory and its HTML template should be selected, then verify that customized content is used without modifying files in the installation.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.