forked from OpenNeo/impress
11 lines
272 B
Ruby
11 lines
272 B
Ruby
|
module Fundraising
|
||
|
class DonationMailer < ActionMailer::Base
|
||
|
default from: "matchu@openneo.net"
|
||
|
|
||
|
def thank_you_email(donation, recipient)
|
||
|
@donation = donation
|
||
|
mail(to: recipient, subject: 'Thanks for donating to Dress to Impress!')
|
||
|
end
|
||
|
end
|
||
|
end
|