diff --git a/app/mailers/reporter_mailer.rb b/app/mailers/reporter_mailer.rb index 0067cc9f3b..33e63fdaf8 100644 --- a/app/mailers/reporter_mailer.rb +++ b/app/mailers/reporter_mailer.rb @@ -11,7 +11,8 @@ class ReporterMailer < ActionMailer::Base def named_maps_near_the_limit(message) mail_to = Cartodb.get_config(:mailer, 'support_email') + mail_from = Cartodb.get_config(:mailer, 'internal_notifications_email') - mail to: mail_to, subject: message if mail_to + mail from: mail_from, to: mail_to, subject: message if mail_to && mail_from end end