app/mailers/user_mailer.rb
# general purpose mailer for sending out admin communications, only use from one off tasks
general purpose mailer for sending out admin communications, only use from one off tasks
general purpose mailer for sending out admin communications only use from one off tasks
def spam(user:, subject:, message:)
    return unless set_and_check_user(user)
    @message = message
    mail(to: @user.email, reply_to: "noreply@codetriage.com", subject: subject)
  end
def spam ( user : , subject : , message : ) return unless set_and_check_user ( user ) @message = message mail ( to : @user . email , reply_to : "noreply@codetriage.com" , subject : subject ) end
general purpose mailer for sending out admin communications, only use from one off tasks
general purpose mailer for sending out admin communications only use from one off tasks
user
<not_specific>
subject
<not_specific>
message
<not_specific>