Settings › Mail: set up and test the site's mail from the admin

Open
#646 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

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

Research direction

The issue names no files or tests. Start by finding where the mailer is configured from the MAIL_* environment variables and where the existing admin settings pages are defined, then compare how other secret settings are stored and overridden by the server. Done means the admin form saves encrypted SMTP settings, shows server-set values as read-only, and a test email reports the provider's error in plain words.

Written by the indexing model from the issue text.

Description

area/admin type/enhancement when/later

Mail is set only in the server's environment (MAIL_*). A site owner who can reach the admin but not the server can't set it up, change providers, or check it, and a site with no mailer silently writes its password resets, invitations and backup alerts to the log.

Expected, in core (every site needs mail):

  • Settings › Mail: SMTP host, port, encryption, username, password (a secret setting, stored encrypted and never shown again), the from address and name;
  • the server's environment wins, as for other secret settings: a MAIL_* value set on the server is shown as "set by the server" and can't be edited in the admin;
  • Send a test email to the person's own address, with the provider's answer in plain words when it fails;
  • the Status page names a site that has no real mailer.

Providers with their own APIs (Postmark, Resend, Mailgun, Amazon SES) come as plugins through a socket that registers a mail transport; core ships SMTP, which every provider offers.

🤖 Generated with Claude Code

Dominant language
PHP
Stars
1
Forks
1
Avg merge
1h 40m
Merged PRs (30d)
143

Getting set up

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.

More from temecms/teme

All issues in temecms/teme

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.