Sha256: bf8046020a36f3cd59d4427aaba0f6d3b9a1b9e5bcb43e7d8f5df32e833694d9
Contents?: true
Size: 497 Bytes
Versions: 4
Compression:
Stored size: 497 Bytes
Contents
class Mailer < ActionMailer::Base default :from => 'no-reply@sendgrid.com', :subject => 'Test email' def email_with_multiple_recipients(recipients) mail :to => recipients, :body => "Hello!" end def email_open_tracking(opentrack_enabled = true) open_tracking opentrack_enabled mail :to => 'email@email.com', :body => 'Hello!' end def email_standard_smtp(enabled = false) standard_smtp enabled mail :to => 'email@email.com', :body => 'Hello!' end end
Version data entries
4 entries across 4 versions & 1 rubygems