مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2026-01-17 13:39:46 +00:00
8 أسطر
317 B
Ruby
8 أسطر
317 B
Ruby
# frozen_string_literal: true
|
|
|
|
require "postal/config"
|
|
if 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 || 25 }
|
|
end
|