مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2025-11-30 21:32:30 +00:00
feat: support for additional SMTP client options
هذا الالتزام موجود في:
@@ -2,10 +2,17 @@
|
||||
|
||||
require "postal/config"
|
||||
|
||||
config = Postal::Config.smtp
|
||||
|
||||
ActionMailer::Base.delivery_method = :smtp
|
||||
ActionMailer::Base.smtp_settings = {
|
||||
address: Postal::Config.smtp.host,
|
||||
user_name: Postal::Config.smtp.username,
|
||||
password: Postal::Config.smtp.password,
|
||||
port: Postal::Config.smtp.port
|
||||
address: config.host,
|
||||
user_name: config.username,
|
||||
password: config.password,
|
||||
port: config.port,
|
||||
authentication: config.authentication_type&.to_sym,
|
||||
enable_starttls: config.enable_starttls?,
|
||||
enable_starttls_auto: config.enable_starttls_auto?,
|
||||
openssl_verify_mode: config.openssl_verify_mode,
|
||||
ssl: config.ssl?
|
||||
}
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم