Skip to content

Commit

Permalink
update mailer
Browse files Browse the repository at this point in the history
  • Loading branch information
metacortex committed Feb 25, 2011
1 parent b3691e5 commit 4a8f33f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions app/mailers/user_mailer.rb
@@ -1,3 +1,4 @@
# encoding: UTF-8
class UserMailer < ActionMailer::Base
default :from => "harvest.kor@gmail.com"

Expand All @@ -7,4 +8,12 @@ def question(attrs)
:to => "harvest.kor@gmail.com",
:subject => attrs[:title])
end

def rsvp(attrs)
@attrs = attrs
mail(:from => attrs[:email],
:to => "harvest.kor@gmail.com",
:subject => "컨퍼런스 참가 신청: #{attrs[:name]}")
end

end

0 comments on commit 4a8f33f

Please sign in to comment.