Skip to content

Instantly share code, notes, and snippets.

@shanepinnell
Created March 10, 2013 04:46
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 shanepinnell/5127162 to your computer and use it in GitHub Desktop.
Save shanepinnell/5127162 to your computer and use it in GitHub Desktop.
Mailgun Error
irb(main):012:0>
irb(main):013:0* RestClient.post "https://api:#{API_KEY}@api.mailgun.net/v2/mailgun.net/messages",
irb(main):014:0* :from => "admin@ydmvitalsolutions.com",
irb(main):015:0* :to => 'shane.pinnell@gmail.com',
irb(main):016:0* :subject => "This is subject",
irb(main):017:0* :text => "Text body",
irb(main):018:0* :html => "<b>HTML</b> version of the body!"
RestClient::ResourceNotFound: 404 Resource Not Found: {
"message": "Domain not found: mailgun.net"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment