Sha256: 97849a3ba27d15663ce701eccf72d212ff376c729b8e44bb442de0f0640d6d3a
Contents?: true
Size: 543 Bytes
Versions: 104
Compression:
Stored size: 543 Bytes
Contents
module Comee module Core class NotificationMailer < ApplicationMailer def notify user = params[:user] files = params[:files] files&.each { |k, v| attachments[k] = v } mail( from: email_address_with_name(user.email, user.name), to: params[:recipients], subject: params[:subject], delivery_method_options: user.delivery_options ) do |format| format.html { render(html: params[:email_body].html_safe) } end end end end end
Version data entries
104 entries across 104 versions & 1 rubygems