مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2025-11-30 21:32:30 +00:00
add script for testing app SMTP connections
هذا الالتزام موجود في:
@@ -44,4 +44,8 @@ class AppMailer < ApplicationMailer
|
||||
mail :to => @server.organization.notification_addresses, :subject => "[#{server.full_permalink}] Your mail server has been suspended"
|
||||
end
|
||||
|
||||
def test_message(recipient)
|
||||
mail :to => recipient, :subject => "Postal SMTP Test Message"
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
3
app/views/app_mailer/test_message.text.erb
Normal file
3
app/views/app_mailer/test_message.text.erb
Normal file
@@ -0,0 +1,3 @@
|
||||
This is a test message sent by Postal.
|
||||
|
||||
If you have received this message your test has succeeded.
|
||||
المرجع في مشكلة جديدة
حظر مستخدم