Sha256: 1eba30260de55ccfd4bfafa3df2586e072c3645b63eaa6239e8afc55875d2c06
Contents?: true
Size: 1.05 KB
Versions: 22
Compression:
Stored size: 1.05 KB
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 email_crlf email end def email_with_umlauts email end def html_email_with_links email end def text_email_with_links email end def html_email_with_linebreaks email end def html_email_with_specific_line email end def text_email_with_specific_line email end def html_email_for_successful_test_without_header email end def text_email_for_successful_test_without_header email end def html_email_for_failed_test_without_header email end def text_email_for_failed_test_without_header email end end
Version data entries
22 entries across 22 versions & 1 rubygems