1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
mperham--sidekiq/myapp/app/mailers/user_mailer.rb

10 lines
214 B
Ruby
Raw Normal View History

class UserMailer < ActionMailer::Base
default from: "sidekiq@example.com"
def greetings(now)
@now = now
@hostname = `hostname`.strip
mail(to: "mperham@gmail.com", subject: "Ahoy Matey!")
end
end