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

Aperta
#646 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
laravel, php
Ambito
full-stack

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
PHP
Stelle
1
Fork
1
Merge medio
1h 40m
PR unite (30g)
143

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di temecms/teme

Tutte le issue di temecms/teme

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.