Sha256: 4b4703fefc3b8a8b0c5b262bf5abc6c4d139ab4122034c7666313c7eae3cfeec

Contents?: true

Size: 318 Bytes

Versions: 1

Compression:

Stored size: 318 Bytes

Contents

module PgEngine
  class UserMailer < ApplicationMailer
    # default delivery_method: :smtp

    def notification
      recipient = params[:notification].recipient
      @html = params[:message].html_safe
      @text = params[:message_text]
      mail(to: recipient.email, subject: params[:subject])
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pg_rails-7.0.8.pre.alpha.109 pg_engine/app/mailers/pg_engine/user_mailer.rb