Skip to content

Commit

Permalink
Email works! Will it work with this more complicated setup? Let's fin…
Browse files Browse the repository at this point in the history
…d out.
  • Loading branch information
chadoh committed May 7, 2010
1 parent b584543 commit 8bf9367
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controls.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ def method_missing(name)
:domain => ENV['SENDGRID_DOMAIN'] :domain => ENV['SENDGRID_DOMAIN']
} }
mail_options = { :to => 'chad.ostrowski@gmail.com', mail_options = { :to => 'chad.ostrowski@gmail.com',
:from => 'chad@lisli.net', :from => '"' + params[:name] + '" <' + params[:email] + '>',
:body => 'Woooo!', :body => params[:message],
:subject => "Mail from Lisli.net!", :subject => "Mail from Lisli.net!",
:via => :smtp, :via => :smtp,
:via_options => smtp_options :via_options => smtp_options
Expand Down

0 comments on commit 8bf9367

Please sign in to comment.