Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

🐛 [firestore-send-email] Support for multiple and dynamic SMTP connection URIs

Đang mở
#1,990 1 bình luận 4 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ó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Ít trao đổi
Công nghệ
gcp, typescript
Lĩnh vực
backend, cloud, databases

Hướng nghiên cứu

Issue không nêu tên tệp, kiểm thử hoặc điểm vào nào; hãy bắt đầu bằng cách xác định extension firestore-send-email và đường dẫn cấu hình SMTP hiện tại của nó. Xem xét cách cấu hình extension, các tài liệu Firestore và Google Secret Manager hiện đang được xử lý, sau đó thiết lập các kiểm thử chấp nhận cho các URI kết nối SMTP mặc định, được chọn, bị thiếu và được truy xuất động.

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

Mô tả

extension: firestore-send-email type: feature request

This feature request is for extension: firestore-send-email.

What feature would you like to see?

Enhancing flexibility and scalability for managing outbound emails by enabling dynamic SMTP server configuration based on Firestore documents or Google Secret Manager.

In more detail:
  • Introduce a new configurable parameter: useDynamicSmtpConnectionUris.
  • Enable dynamic SMTP connection URI configuration for outbound emails to support multiple SMTP outbound servers, catering to different customers' needs. This could involve storing each custom outbound SMTP connection URI in a Firestore collection or linking to a secret in Google Secret Manager 🔑 .
  • Implement synchronization of corresponding secrets in Google Secret Manager 🔑 via a Cloud Function or Firestore onWrite document trigger, empowering customers to manage their SMTP configurations autonomously.
  • For new documents in the email collection, the extension would examine the outboundSmtpServerId field (a new addition to email documents). If this field is specified and not set to "default", the extension would retrieve the connection URI from a Firestore document stored at a specified path designated by the new configurable parameter smtpConfigurationsCollection. If the document is linked to a secret, it will access the secret accordingly.
  • If outboundSmtpServerId is undefined, null, or set to "default", the base SMTP connection URI will be utilized.
How would you use it?

Incorporating these features would be particularly advantageous for scenarios involving diverse customers or varying SMTP configurations, such as allowing customers to use their own email servers for outbound email.

In addition, these enhancements open up possibilities for more tailored email communication strategies, e.g. enabling businesses to personalize their outgoing emails based on specific customer segments or preferences. This increased customization can significantly improve engagement and user experience, making the extension even more versatile for various use cases in application development.

As the implementation is highly valued, I'm available to provide additional context, clarification, or details for potential implementation. 🙏

Ngôn ngữ chính
TypeScript
Star
979
Fork
434
Merge trung bình
20 giờ 44 phút
Pull request đã merge (30 ngày)
17

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 firebase/extensions

Tất cả issue của firebase/extensions

Issue tương tự

Thêm issue về TypeScript

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.