2012-02-17 21:24:14 -08:00
|
|
|
class UserMailer < ActionMailer::Base
|
|
|
|
default from: "sidekiq@example.com"
|
|
|
|
|
|
|
|
def greetings(now)
|
|
|
|
@now = now
|
|
|
|
@hostname = `hostname`.strip
|
2022-06-05 07:44:52 -07:00
|
|
|
mail(to: "mperham@gmail.com", subject: "Ahoy Matey!")
|
2012-02-17 21:24:14 -08:00
|
|
|
end
|
|
|
|
end
|