mirror of
https://github.com/postalserver/postal.git
synced 2026-10-19 18:56:05 +00:00
add script for testing app SMTP connections
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user