contactorama/app/mailers/user_mailer.rb
2012-01-15 21:28:46 +01:00

10 lines
420 B
Ruby

# -*- coding: iso-8859-1 -*-
class UserMailer < ActionMailer::Base
default :from => "info@contact-o-rama.com"
def next_weeks_birthday_notification(birthdays)
logger.debug "----------------< we don't send no email, yet >----------------------"
@birthday_contacts = birthdays
mail(:to => "contact-o-rama@gasbottle-county.eu", :subject => "Contact-o-Rama: Geburtstage in den nächsten 7 Tagen.")
end
end