Permalink
Browse files

Mail

  • Loading branch information...
1 parent e99ba2c commit 5539fb2905689b5a7521b410306b1c8dd32fcb51 @kaineer committed Oct 6, 2010
Showing with 3 additions and 3 deletions.
  1. +3 −3 app/models/scheme/user.rb
@@ -43,10 +43,10 @@ def update_hash
def send_login_link
update_hash
- Pony.mail( :to => email, :from => "noreply@naumen.ru",
- :via => :smtp, :smtp => { :host => "mx1.naumen.ru" },
+ Pony.mail( :to => email, :from => "kaineer@gmail.com",
+ :via => :smtp, :smtp => { :host => "smtp.gmail.com" },
:subject => "[rendered.hello] Login link",
- :body => "Login by: http://localhost:4567/hello/#{self.user_hash}" )
+ :body => "http://gentle-winter-71.heroku.com/hello/#{self.user_hash}" )
end
def restore_session

0 comments on commit 5539fb2

Please sign in to comment.