Created
April 7, 2012 00:15
-
-
Save jagmitg/2324190 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class NotificationsMailer < ActionMailer::Base | |
default :from => "jagmitg@gmail.com" | |
default :to => "jagmitg@gmail.com" | |
def new_message(message) | |
@message = message | |
mail(:subject => "[YourWebsite.tld] #{message.subject}") | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment