I am using merb-mailer successfully through my google account.
I expected merb-exceptions to easily work but not so.  Does anyone
have merb-exceptions working ?  Can you share your config or provide
feedback on mine?

in production.rb I have:

Merb::BootLoader.before_app_loads do
  # Activate SSL Support
  Net::SMTP.enable_tls(OpenSSL::SSL::VERIFY_NONE)
  # Configure Merb Mailer
  Merb::Mailer.config = {
    :host   => 'smtp.gmail.com',
    :port   => '587',
    :user   => '[email protected]',
    :pass   => 'mypassword',
    :auth   => :plain
  }

  Merb::Plugins.config[:exceptions] = {
    :email_addresses => ['[email protected]'],
    :app_name        => "ShellShadow",
    :environments    => ['production'],
    :email_from      => "[email protected]"
  }

end

I have tried various combinations as shown in the merb-exceptions docs
(readme) but nothing seems to work.

thanks, Jon





--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to