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
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
This is a test message sent by Postal.
|
||||
|
||||
If you have received this message your test has succeeded.
|
||||
Reference in New Issue
Block a user