Prevents Mail::SMTP monkey patch from overriding defaults
When changing the delivery method settings of a Mail::Message the monkey patch constructor would override the defaults of Mail::SMTP with the configured settings. Now we ensure we use fresh defaults for every new delivery method settings. Changelog: fixed
显示
- config/initializers/mail_starttls_patch.rb 1 个添加, 1 个删除config/initializers/mail_starttls_patch.rb
- spec/initializers/mail_starttls_patch_spec.rb 31 个添加, 0 个删除spec/initializers/mail_starttls_patch_spec.rb
- spec/mailers/emails/service_desk_spec.rb 19 个添加, 0 个删除spec/mailers/emails/service_desk_spec.rb
加载中
想要评论请 注册 或 登录