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

オープン
#646 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
laravel, php
領域
full-stack

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
PHP
スター
1
フォーク
1
平均マージ
1時間 40分
マージ済み PR(30日)
143

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

temecms/teme のほかの issue

temecms/teme の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。