Skip to content

Commit

Permalink
SMTP for Prod (#1154)
Browse files Browse the repository at this point in the history
* Add default application email address and update the create org and user mailer to use it

* skip test until test and dev credentials are set up
  • Loading branch information
kasugaijin authored Nov 17, 2024
1 parent 18415cd commit 6069e26
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/mailers/organization_mailer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ class OrganizationMailer < ApplicationMailer
def create_new_org_and_admin(tenant_org)
@organization = params[:organization]
@user = params[:user]
mail(from: "[email protected]",
mail(from: Rails.application.credentials.homeward_tails_email_address,
to: @user.email,
subject: "Pet Rescue - New Organization Sign Up")
end
Expand Down
2 changes: 1 addition & 1 deletion config/credentials/production.yml.enc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
YiMD/MQGbApDn5AcvztsK6vZPLe5BvByzsfrOnYC2sJUgwBfjKYj/HA4Mo7tEBuiANuPdDfpeUzdhS+FACij48NQ68mupFuzFGRALcZykW/X0mqZ2ivVibZk40KFqtexxTxfbXE3S+S5FaMMQRVP6SgF5j8+GizjZFMJq1vMnTitlawYsqVar+rd3aDp6PhXEy8TwYwmf8a/6F/pZBlhTNEmaeTas1EN6rFzjpuGc1ySUafEb2xKu5TZ0HQxFOqPbVovK0o0PNyiWgt1Zmpek2R4WPZOB2iN/FifH0CmrqqN5aiBzY50C2MR1KpRFztTdykmgGQBqRkx+hDPXjKQecj+nN28jR+R1NDLxhm/H4XwyTzNq/9Lek+F5jD3p66alcNTJqVBirEFVszHHXwpHo9gCYC0QfoyFnwZAg8jvK18Iz+7xGu9k1m6+uyEFIkI1+xngzMIlcaIxJYu9YHIzC7lfAoEKNfF3rSCMKNz9g+4bmcYb1KHgsIsdzD+UXwewkfJmfYYGzdNyTa6C6ckmZ0EHtctbNE/cXxhPMqwd97UTj7J76gYmsw6jgOXC8zokFzb2L60EQ8K5QXWqRFpeY+l4uLQCz3ygnb1Phi0F93fvUOGr83V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xpJYP3YUGak5TmJUomu+RRB2cHfCMTIKhrV4PmsOd8vROq0Rm8X6FotQ9eSWZ//ej1yZagW0vGpcSv4ubn9zr5tF+sABr1cCga98HYkgU+uSLtyV5eDfMvglT4FxQ4uIbAJjhe5jn+sXHHR179YrH+BEU3EnuSkquHJe/kXnRJHO4pUyragaWvlMEYPJjkhnlAyYkfcpRUI4Zu8g1AoOcjyzBzTui6qhC6hcNSxqf+vE5saNHA1ySIMO7GpkeOeftaxJ457Mz+RWeIkKUnC23uN4pXZs8eDSreUdrFQlPvd5E66j7tdWfuCPjMNHsU704kf463XxOstORJZauP/D9zvjiuc1kM/Iy52nRpNu6mRfCvOnNvfIcCcuWw/ZwxD2HM/uD35B0jTNXKMzMD+c55xrvyi4ZVA0qftHLr6uZmqyWuI7kE5AEV0Kc1Juo36IFQHhyY4cBxfWU=--Z8VjeW8okb1UWg+f--kNXS4gCxO58e0IwQlg6NDw==
1 change: 1 addition & 0 deletions test/services/organizations/create_service_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

class Organizations::CreateServiceTest < ActiveSupport::TestCase
test "it creates custom_page when organization is created" do
skip "Skipping this test until we have dev and test credentials set up"
args = {
location: {
country: "Mexico",
Expand Down

0 comments on commit 6069e26

Please sign in to comment.