Re: [nesta] Receiving email with SendGrid and Gmail
- From:
- James Abbott
- Date:
- 2013-03-18 @ 15:21
What happens is nothing. I get redirected to the same URL as my form is on,
but what gets displayed is my 404 page. I receive no email.
BTW, line 19 - the general advice is never to use rescue without specifying
> one or more exceptions that you intend to catch. The risk that you'll catch
> stuff that you didn't mean to (such as syntax errors) is immense. It makes
> your intent hard to read too.
>
Happily, that's not my code. :-)
I'll fix that - in fact, catching an exception and reading the message
might be a good way to get to the problem, no?
/J.
On Mon, Mar 18, 2013 at 4:03 PM, Graham Ashton <graham@effectif.com> wrote:
> On 18 Mar 2013, at 14:38, James Abbott <abbottjam@gmail.com> wrote:
>
> > https://gist.github.com/abbottjam/5187574
> >
> > I've configured SendGrid with my Heroku account with all the necessary
> environment variables, but still can't get the above to work - any
> suggestions?
>
> Not without knowing what happens, no.
>
> BTW, line 19 - the general advice is never to use rescue without
> specifying one or more exceptions that you intend to catch. The risk that
> you'll catch stuff that you didn't mean to (such as syntax errors) is
> immense. It makes your intent hard to read too.
>
> --
> Graham Ashton
> Founder, Agile Planner
> https://www.agileplannerapp.com | @agileplanner | @grahamashton
>
>