vidpush/app/mailers/videolisting_mailer.rb
2014-05-09 14:37:17 -04:00

9 lines
272 B
Ruby

class VideolistingMailer < ActionMailer::Base
default from: ENV['SMTP_ADDRESS']
def videolisting_complete(videolisting)
@listing = videolisting
mail(to: videolisting.campaign.vpa_email, subject: "A Video Listing has been completed by Better Video")
end
end