lib/mandrails/message_builder.rb
# Setting keys which are not allowed to by set by the message
Setting keys which are not allowed to by set by the message
Setting keys which are not allowed to by set by the message
def message
      @message ||= defaults.merge(
        html: body(:html),
        text: body(:text),
        subject: mail.subject,
        from_email: from_email,
        from_name: from_name,
        to: recipients,
        attachments: attachments,
        headers: headers)
    end
def message @message ||= defaults . merge ( html : body ( :html ) , text : body ( :text ) , subject : mail . subject , from_email : from_email , from_name : from_name , to : recipients , attachments : attachments , headers : headers ) end
Setting keys which are not allowed to by set by the message
Setting keys which are not allowed to by set by the message
# E-Mail stuff # Additional headers