Skip to content

Instantly share code, notes, and snippets.

@jelder
Created November 2, 2010 20:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jelder/660241 to your computer and use it in GitHub Desktop.
Save jelder/660241 to your computer and use it in GitHub Desktop.
>> test_email
=> {:body=>"test body", :subject=>"test subject", :authentication=>:plain, :domain=>"heroku.com", :address=>"smtp.sendgrid.net", :from=>"noreply@locamoda.com", :user_name=>"app329262@heroku.com", :port=>25, :to=>"jelder@locamoda.com", :password=>"XXXXXXXXXXXXXXX"}
>> Pony.mail(test_email)
=> #<Mail::Message:23867391363740, Multipart: false, Headers: <Date: Tue, 02 Nov 2010 13:26:22 -0700>, <From: noreply@locamoda.com>, <To: jelder@locamoda.com>, <Message-ID: <4cd073ee1ad42_79c515b50cfb413c260ec@railgun64.40644.mail>>, <Subject: test subject>, <Mime-Version: 1.0>, <Content-Type: text/plain>, <Content-Transfer-Encoding: 7bit>>
>>
@jelder
Copy link
Author

jelder commented Nov 2, 2010

Done via "heroku console"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment