|
|
@ -11,7 +11,8 @@ class ReporterMailer < ActionMailer::Base
|
|
|
|
|
|
|
|
|
|
|
|
def named_maps_near_the_limit(message)
|
|
|
|
def named_maps_near_the_limit(message)
|
|
|
|
mail_to = Cartodb.get_config(:mailer, 'support_email')
|
|
|
|
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
|
|
|
|
end
|
|
|
|
end
|
|
|
|