cartodb-4.42/app/mailers/reporter_mailer.rb

12 lines
322 B
Ruby
Raw Normal View History

2024-04-06 13:25:13 +08:00
class ReporterMailer < ActionMailer::Base
default from: Cartodb.get_config(:mailer, 'from')
layout 'mail'
def trending_maps_report(mail_to, trending_visualizations)
@subject = "Daily trending maps report"
@trending_visualizations = trending_visualizations
mail to: mail_to, subject: @subject
end
end