1
0
مراية لـ https://github.com/postalserver/postal.git تم المزامنة 2025-11-30 21:32:30 +00:00

test: add tests for Server model

هذا الالتزام موجود في:
Adam Cooke
2024-02-20 17:08:02 +00:00
ملتزم من قبل Adam Cooke
الأصل 8b61100082
التزام 2023200d91
19 ملفات معدلة مع 707 إضافات و64 حذوفات

عرض الملف

@@ -3,6 +3,8 @@
require "postal/config"
if Postal.config&.smtp
# TODO: by default, we should just send mail through the local Postal
# installation rather than having to actually configure an SMTP server.
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