File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -124,24 +124,6 @@ def deliver!(mail)
124
124
125
125
ActionMailer ::Base . add_delivery_method :tmp_file , DeliveryMethods ::TmpFile
126
126
127
- # Changes how sent emails are logged
128
- # Rails doesn't log cc and bcc which is misleading when using bcc only (#12090)
129
- module ActionMailer
130
- class LogSubscriber < ActiveSupport ::LogSubscriber
131
- def deliver ( event )
132
- recipients = [ :to , :cc , :bcc ] . inject ( +"" ) do |s , header |
133
- r = Array . wrap ( event . payload [ header ] )
134
- if r . any?
135
- s << "\n #{ header } : #{ r . join ( ', ' ) } "
136
- end
137
- s
138
- end
139
- info ( "\n Sent email \" #{ event . payload [ :subject ] } \" (%1.fms)#{ recipients } " % event . duration )
140
- debug ( event . payload [ :mail ] )
141
- end
142
- end
143
- end
144
-
145
127
module ActionController
146
128
module MimeResponds
147
129
class Collector
You can’t perform that action at this time.
0 commit comments