Fix email notifications

This commit is contained in:
Henne Vogelsang 2016-03-31 16:51:16 +02:00
parent 2e79f65989
commit 14011f8828
9 changed files with 43 additions and 28 deletions

View file

@ -97,6 +97,7 @@ class Mailbot < ActionMailer::Base
end
def build_email(conference, to, subject, body)
logger.debug "Sending mail about #{subject} to #{to}"
mail(to: to,
from: conference.contact.email,
reply_to: conference.contact.email,