To get started:

For Rails 3,

Railscasts: #206 Action Mailer in Rails 3

At Github, Rails ActionMailer, the interceptor test file is pretty 
interesting, around line 642

https://github.com/rails/rails/blob/3e36db4406beea32772b1db1e9a16cc1e8aea14c/actionmailer/test/base_test.rb.


On Friday, June 26, 2015 at 10:51:23 AM UTC-4, Cody Skidmore wrote:
>
> I read the Rails documentation for creating an email interceptor. It 
> mentions putting the registration in config/initializers, However, there's 
> no mention about where I should store the interceptor itself. What is the 
> best practice for this?
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/6aa910ec-b81f-443b-bba6-dbef1869b9dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to