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

Đang mở
#646 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
laravel, php
Lĩnh vực
full-stack

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
PHP
Star
1
Fork
1
Merge trung bình
1 giờ 40 phút
Pull request đã merge (30 ngày)
143

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của temecms/teme

Tất cả issue của temecms/teme

Issue tương tự

Thêm issue về PHP

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.