Permalink
Browse files

add from address

  • Loading branch information...
1 parent 74c0c11 commit 5a82efc7da4e5a0400de3e86b72aeadf08cd50df @titanous committed May 4, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 voicemail.rb
View
@@ -26,7 +26,7 @@
helpers do
def mail(subject, body)
- Pony.mail(:to => ENV['EMAIL'], :via => :smtp, :via_options => SENDGRID_CONFIG, :subject => subject, :body => body)
+ Pony.mail(:from => ENV['SENDGRID_USERNAME'], :to => ENV['EMAIL'], :via => :smtp, :via_options => SENDGRID_CONFIG, :subject => subject, :body => body)
end
end

0 comments on commit 5a82efc

Please sign in to comment.