You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
596 B
26 lines
596 B
11 years ago
|
class UserMailer < ActionMailer::Base
|
||
|
default from: "from@example.com"
|
||
|
|
||
|
# Subject can be set in your I18n file at config/locales/en.yml
|
||
|
# with the following lookup:
|
||
|
#
|
||
|
# en.user_mailer.activation_needed_email.subject
|
||
|
#
|
||
|
def activation_needed_email(email_address)
|
||
|
@greeting = "Hi"
|
||
|
|
||
|
mail to: 'goodgodwin@hotmail.com'
|
||
|
end
|
||
|
|
||
|
# Subject can be set in your I18n file at config/locales/en.yml
|
||
|
# with the following lookup:
|
||
|
#
|
||
|
# en.user_mailer.activation_success_email.subject
|
||
|
#
|
||
|
def activation_success_email
|
||
|
@greeting = "Hi"
|
||
|
|
||
|
mail to: "to@example.org"
|
||
|
end
|
||
|
end
|