Sha256: 7bfdc7d6a630420ce6a987c154ea083972a290364cf0532e1efaaf19e827791d

Contents?: true

Size: 601 Bytes

Versions: 9

Compression:

Stored size: 601 Bytes

Contents

class SampleMailer < ActionMailer::Base
  
  def gmail_override
    @recipients = "to_real@email.com"
    @cc         = "cc_real@email.com"
    @bcc        = "bcc_real@email.com"

    @subject = "Hello there"
    
    part :content_type => "text/html", :body => "Hello there"
  end
  
  def gmail_override_multiple_recipient
    @recipients = ["to_0_real@email.com", "to_1_real@email.com"]
    @cc         = "cc_real@email.com"
    @bcc        = "bcc_real@email.com"

    @subject = "Hello there, multiple"
    
    part :content_type => "text/html", :body => "Hello there, multiple."
    
  end

end

Version data entries

9 entries across 9 versions & 3 rubygems

Version Path
pboling-sanitize_email-0.3.1 test/sample_mailer.rb
pboling-sanitize_email-0.3.2 test/sample_mailer.rb
pboling-sanitize_email-1.0.0 test/sample_mailer.rb
sanitize_email-0.3.9 test/sample_mailer.rb
sanitize_email-0.3.8 test/sample_mailer.rb
sanitize_email-0.3.7 test/sample_mailer.rb
futurechimp-sanitize_email-0.3.6 test/sample_mailer.rb
sanitize_email-0.3.6 test/sample_mailer.rb
sanitize_email-0.3.5 test/sample_mailer.rb