add script for testing app SMTP connections

This commit is contained in:
Adam Cooke committed 2017-04-28 17:09:39 +01:00
1 parent 6fc82b2049
commit 3333a7baf3
6 files changed
+42 -2

No files matched your search

+4
View File
@@ -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