vidpush/app/mailers/videolisting_mailer.rb
2014-05-05 14:07:33 -04:00

10 lines
296 B
Ruby

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