-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
class Message < ActionMailer::Base | ||
default from: "[email protected]" | ||
default from: " CMOJ <[email protected]>" | ||
|
||
def contact_mail sender, message | ||
mail(:to => 'mumo.[email protected]', :subject => "Test Contact") do |format| | ||
mail(:to => ['carlos@mumo.mx','[email protected]'], :subject => "Test Contact") do |format| | ||
format.html { render 'public_message', :locals => {:sender => sender, :message => message} } | ||
end | ||
end | ||
|
||
def suggestion sender, message | ||
mail(:to => 'mumo.[email protected]', :subject => "Test Suggestion") do |format| | ||
mail(:to => ['carlos@mumo.mx','[email protected]'], :subject => "Test Suggestion") do |format| | ||
format.html { render 'suggestions', :locals => {:sender => sender, :message => message} } | ||
end | ||
end | ||
|