app/mailers/producer_mailer.rb in artfully_ose-1.0.0.rc4 vs app/mailers/producer_mailer.rb in artfully_ose-1.1.0.rc1

- old
+ new

@@ -1,7 +1,7 @@ class ProducerMailer < ActionMailer::Base - default :from => "support@artful.ly" + default :from => ARTFULLY_CONFIG[:contact_email] layout "mail" def donation_kit_notification(kit, producer) @kit = kit @organization = kit.organization @@ -32,7 +32,15 @@ @event = @ticket_offer.event @show = @ticket_offer.show @section = @ticket_offer.section mail :to => @producer.email, :subject => "Artful.ly: Ticket Offer Rejected" + end + + def mailchimp_kit_initial_sync_notification(kit, producer, list_name) + @kit = kit + @list_name = list_name + @organization = kit.organization + + mail :to => producer.email, :subject => "Artful.ly: MailChimp kit synced" end end