Sha256: 22d59b4f0850c6c8d5c8cd39d607597720d1075707d8573ad8f789d5305a9ed5
Contents?: true
Size: 574 Bytes
Versions: 8
Compression:
Stored size: 574 Bytes
Contents
class SpreewaldMailer < ApplicationMailer REPLY_TO = "reply-to@example.com" TO = "to@example.com" CC = "cc@example.com" BCC = "bcc@example.com" FROM = "from@example.com" SUBJECT = "SUBJECT" def email attachments['attached_file.pdf'] = File.open("#{Rails.root}/public/fixture_files/attachment.pdf", "w") {} mail( :from => FROM, :reply_to => REPLY_TO, :to => TO, :cc => CC, :bcc => BCC, :subject => SUBJECT ) end def html_email_with_links email end def text_email_with_links email end end
Version data entries
8 entries across 8 versions & 1 rubygems