You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Observers give you access to the email message after it has been sent. An observer class must implement the `:delivered_email(message)` method, which will be called after the email is sent.
@@ -906,11 +905,11 @@ class EmailDeliveryObserver
906
905
end
907
906
```
908
907
909
-
Similar to interceptors, you must register observers using[`register_observer`][]. You can do this in an initializer file
910
-
like `config/initializers/email_delivery_observer.rb`:
908
+
Similar to interceptors, you must register observers usingthe `observers` config option.
909
+
You can do this in an initializer file like `config/initializers/mail_observers.rb`:
0 commit comments