When you say "features" I'm assuming you're talking cucumber?
In that case I believe you have a separate environments/cucumber.rb
where you'll need to set the action mailer to test mode.

On Feb 14, 8:42 am, demetrius <[email protected]> wrote:
> OOPS! I've exceeded my Sendgrid email limit while running my features.
> Does anyone have any advice for how I can re-configure my test
> environment to not actually use Sendgrid?
>
> Config/environments/test.rb (current settings)
>
>   # Tell Action Mailer not to deliver emails to the real world.
>   # The :test delivery method accumulates sent emails in the
>   # ActionMailer::Base.deliveries array.
>   config.action_mailer.delivery_method = :test
>
>   #devise authentication configuration
>   config.action_mailer.default_url_options = { :host => 'localhost:
> 3000' }
>
> Log Error:
> 451 Authentication failed: Maximum credits exceeded
>        (Net::SMTPAuthenticationError)

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" 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/heroku?hl=en.

Reply via email to