You can try expanding the function Mail::Message.deliverin the environment.rb file - something like (not tested - just a demo code!):
class Mail::Message
def deliver_with_recipient_filter
self.to = self.to.to_a.delete_if {|to| !(to =~ /.*@where-i-work.com\Z/)} if RAILS_ENV != production
self.deliver_without_recipient_filter unless self.to.blank?
end
alias_method_chain :deliver, :recipient_filter
end
, Rails 3 - , Rails 2 TMail Mail, - , Rails 3.
, !