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

Abierto
#646 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
laravel, php
Área
full-stack

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
PHP
Estrellas
1
Forks
1
Merge medio
1 h 40 min
PR fusionados (30 d)
143

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de temecms/teme

Todos los issues de temecms/teme

Issues similares

Más issues de PHP

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.