vidpush/app/mailers/videolisting_mailer.rb

9 lines
272 B
Ruby
Raw Normal View History

2014-05-05 18:07:33 +00:00
class VideolistingMailer < ActionMailer::Base
2014-05-09 18:37:17 +00:00
default from: ENV['SMTP_ADDRESS']
2014-05-05 18:07:33 +00:00
def videolisting_complete(videolisting)
@listing = videolisting
2014-05-06 14:43:27 +00:00
mail(to: videolisting.campaign.vpa_email, subject: "A Video Listing has been completed by Better Video")
2014-05-05 18:07:33 +00:00
end
end