nextcloud / nextcloud/server

Ability to attach a document to an invitation letter

Open
#39,737 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

Hi!

I'm working on changing the invitation letter for a new user. I found a method in the documentation that allows you to change all letters. https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/email_configuration.html#using-email-templates.

The class responsible for sending out the invitation letter is located here. apps/settings/lib/Mailer/NewUserMailHelper.php. But it cannot be accessed from the configuration file config.php. Tell me, are there any ways to change the invitation letter without editing the sources? Or maybe there's a way to attach documents to an invitation letter?

It would be nice to add changes only to the invitation emails via configuration or the ability to attach documents

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 with apps/settings/lib/Mailer/NewUserMailHelper.php and the email templates documentation linked in the issue. Determine the supported scope for changing invitation emails and attaching documents; done would require a defined, configuration-based solution or a clearly scoped attachment feature, with its behavior documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.