Questions tagged [griddler]

Griddler is a Rails engine that provides an endpoint for the SendGrid parse api, Cloudmailin parse api, and Postmark parse api that hands off a built email object to a class implemented by you.

31 questions
18
votes
2 answers

Rails Griddler and conversation / email threading

I'm trying to work out how best to connect / thread a chain of emails. This seems like such a common problem that I was surprised that I couldn't easily locate information on how other people have dealt with it. The only thing I found was a post…
ere
  • 1,739
  • 3
  • 19
  • 41
9
votes
1 answer

How do I use SendGrid's Inbound Parse Webhook example in Postman?

I am trying to figure out why incoming emails have paragraphs stripped in my Ruby on Rails app with Griddler and SendGrid. To do that I'd like to mock an inbound email using Postman. SendGrid have an example 'Default Payload' which looks like…
Benjamin Humphrey
  • 3,770
  • 2
  • 23
  • 41
8
votes
1 answer

Undefined method render in Rails controller - Trying to respond to Sendgrid with a 200 status code

I'm using the Sendgrid Parse API along with the Griddler gem to accept incoming emails. For the most part, this works fine; however, if you don't respond to Sendgrid with a status code 200, they will assume that the app didn't correctly receive the…
4
votes
1 answer

Passing instance variables into delayed job

I'm trying to use delayed_jobs (background workers) to process my incoming email. class EmailProcessor def initialize(email) @raw_html = email.raw_html @subject = email.subject end def process do something with @raw_html &…
echan00
  • 2,788
  • 2
  • 18
  • 35
3
votes
0 answers

How do I ask the receivers of my emails to include a '-- REPLY ABOVE THIS LINE --' tag below their reply?

I want to parse incoming emails (which are replies to emails I've sent) for the actual message (without the "original message" part, the signature and such). To achieve this, I would like to include a delimiter (e.g. '-- REPLY ABOVE THIS LINE --')…
the-bass
  • 705
  • 1
  • 6
  • 20
3
votes
2 answers

Sendgrid receive email locally

I am trying to implement sendgrid parse API using the 'griddler' gem in my rails application. The problem is how can I test it locally? And how to receive email in my local machine.
Charizard_
  • 1,215
  • 1
  • 9
  • 20
2
votes
1 answer

Trying to get bcc data for email using griddler-sendgrid gem

In rails 4, after reading the documentation, I can see how to get the "from" field : @email.from[:email] from the Email object, but I cannot find how to get the bcc field. I am trying to get the bcc field of emails I am catching with the sendgrid…
Thrabbit
  • 193
  • 2
  • 12
2
votes
1 answer

Receiving email in rails app with gem griddler

how to receiving email in rails app with gem griddler? i follow this link : http://sendgrid.com/blog/receiving-email-in-your-rails-app-with-griddler/ my index.html.erb posts_controller : Posts <% if @posts.count > 0 %> <% @posts.each do |post|…
tardjo
  • 1,594
  • 5
  • 22
  • 38
1
vote
1 answer

Rails Griddler-ses causing dependancy issues

I added the griddler and griddler-ses gem to my rails project and now I am getting this error. When I remove the griddler-ses gem the error goes away. stack.rb:108:in `assert_index': No such middleware to insert before: ActionDispatch::ParamsParser…
Sam M
  • 640
  • 1
  • 8
  • 18
1
vote
1 answer

Rails + Griddler + Sidekiq as processor

Is that possible to use Sidekiq to perform as Griddler Processor ? Currently Griddler return a Griddler Object that I can't send to Sidekiq, and I need it to upload attachments to S3 Bucket. Do you have any way to use Griddler with Sidekiq ? Thanks
Ismael Bourg
  • 197
  • 11
1
vote
2 answers

Unable to parse Sendgrid parse api raw callback into Griddler email object

I am trying to accomplish the following: Have all emails send to my domain parsed for the content of their to, body, subject line and ... in order for me to construct a fax object from it and send it as a fax So far I have been able to setup my MX…
Sam Sedighian
  • 885
  • 1
  • 7
  • 21
1
vote
1 answer

Configuring Griddler with SendGrid and Gmail for Work

I am in need of help figuring out a how to set up incbound email with Griddler and Gmail for Work. I've got a Rails 4 that I'm trying to configure to receive incoming emails using Griddler and SendGrid. I followed the instructions on the Griddler…
Daniel Bonnell
  • 4,817
  • 9
  • 48
  • 88
1
vote
1 answer

error in fetching mail using griddler(mandrill)

I am implementing griddler(using Mandrill) to fetch e-mail in my app. This is my class to receive mail #app/email_receivers/incoming.rb class EmailReceiver < Incoming::Strategies::Mandrill def receive(mail) %(Got message from…
vidal
  • 345
  • 3
  • 18
1
vote
2 answers

Change the default number of rows in griddle

I'm trying to change the default number of rows displaying in the griddle. Does anybody know how to do it? Thanks!
volodymyr3131
  • 335
  • 2
  • 5
  • 16
1
vote
2 answers

Cannot simulate Rails 4 Griddler gem test posting to email processor (post params issue)

We have Griddler Model tests working fine. e.g. we can instantiate the lib/email_processor.rb and it processes. We want to create a controller test that does an end to end post to the standard /email_processor. The problem is the params are not…
Ben
  • 1,292
  • 1
  • 13
  • 21
1
2 3