Re: [nesta] Receiving email with SendGrid and Gmail
- James Abbott
- 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?
On Mon, Mar 18, 2013 at 4:03 PM, Graham Ashton <email@example.com> wrote:
> On 18 Mar 2013, at 14:38, James Abbott <firstname.lastname@example.org> 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
> 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