Class: InvitationMailer

Inherits:
ActionMailer::Base
  • Object
show all
Defined in:
app/mailers/invitation_mailer.rb

Instance Method Summary collapse

Instance Method Details

#send_invitation(receiver, sender, message) ⇒ Object



5
6
7
8
9
# File 'app/mailers/invitation_mailer.rb', line 5

def send_invitation(receiver, sender, message)
  @sender= sender
  @message= message  
  mail(:to => receiver, :subject => "SocialStream Invitation")
end