When you hit the email limit Sendgrid throws an exception when you
attempt to send for the rest of the day. If you see this in Hoptoad
then you can enable sendgrid:premium for the rest of the day to up
your quota.

A great heroku addon would be "sendgrid:smart" which would
automatically enable the premium when needed, and disable it when not
needed, but for now it may be better to implement it yourself using
exception handling and a cron task to reset.

Doug



On Feb 25, 2010, at 2:15 AM, Mike <[email protected]> wrote:

> Great that answered almost all of my questions.  How'd you find that,
> I don't see that anywhere in the docs?
>
> So it turns out that the reason my email deliveries were failing was
> because the first time I tested out the form on my site, the address
> to receive it wasn't setup yet, and then Sendgrid cached that as an
> invalid email address and sent all of the subsequent submissions
> straight to the trash.
>
> I still would like it if anyone could shed any light on what happens
> when the email limit is surpassed?
>
> On Feb 25, 12:47 am, Terence Lee <[email protected]> wrote:
>> I can help with the first question.  You can access your sendgrid
>> credentials to log into the site by using the heroku gem:
>>
>> heroku config --long
>>
>> you should see the ENV variables, SENDGRID_USERNAME and
>> SENDGRID_PASSWORD
>>
>> Cheers,
>> Terence
>>
>> On Wed, 2010-02-24 at 16:21 -0800, Mike wrote:
>>> I'm using the Sendgrid add-on, and I was wondering if there is any
>>> way
>>> to login to Sendgrid to see a greater amount of analytics on my
>>> emails
>>> from my application?
>>
>>> If not, is there another way for me to see how many emails are being
>>> sent a day from my application so that I can see how close I am to
>>> the
>>> limit?  Also, what exactly happens when the limit is surpassed?
>>> Will
>>> the app just start silently dropping all the emails until the
>>> start of
>>> the next cycle?
>>
>>> Lastly, I'm currently hoping to look at the analytics to debug a
>>> problem with emails being sent by my app.  I've already enabled
>>> ActionMailer::Base.raise_delivery_errors = true in my production.rb,
>>> but my app seems to be silently failing to deliver some emails.
>>
>>> I have emails being delivered via one method that are arriving fine,
>>> and emails being delivered by another method that are never
>>> arriving.
>>> However, in the logs, even for the method that is silently failing,
>>> I'm getting "Sent mail to XXX" with no error messages.
>>
>>> Anyone able to provide any help on any of these?
>
> --
> 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
> .
>

-- 
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