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