Permalink
Browse files

ack. i should really configure for development and production. but i …

…should know how production works first, i guess. will mail work NOW???
  • Loading branch information...
chadoh committed May 3, 2010
1 parent f6acdbb commit f06bc653039cd9061e8b16e4b9d30633d0293ae0
Showing with 1 addition and 6 deletions.
  1. +1 −6 controls.rb
View
@@ -101,12 +101,7 @@ def method_missing(name)
end
post "/contact" do
- Pony.mail(:from => 'chad.ostrowski@gmail.com',
- :to => 'chad.ostrowski@gmail.com',
- :subject => 'Mail from Lisli.net!',
- :body => 'Woooo!',
- :via => :smtp,
- :via_options => {
+ Pony.mail(:to => 'chad.ostrowski@gmail.com', :from => 'chad@lisli.net', :subject => 'Mail from Lisli.net!', :body => 'Woooo!', :via => :smtp, :via_options => {
:address => 'smtp.sendgrid.net',
:port => '25',
:authentication => :plain,

0 comments on commit f06bc65

Please sign in to comment.