Class: ShareMailer
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- ShareMailer
- Defined in:
- app/mailers/share_mailer.rb
Instance Method Summary collapse
Instance Method Details
#share_email(user, email, subject, message) ⇒ Object
3 4 5 6 7 8 9 10 |
# File 'app/mailers/share_mailer.rb', line 3 def share_email(user, email, subject, ) @message = @user = user mail(:to => email, :from => user.email, :subject => subject) do |format| format.html format.text end end |