Comments (3)
Yeah, raw_html is... the raw html that we receive. The only time we are (or should be) dealing with this is in body
, which has been sanitized and split.
What are you doing with the raw_*
attributes? Their use really ought to be an exception.
Also, raw_body
is just the first available between raw_html
and raw_text
, so it's probably not useful if you're grabbing those.
from griddler.
It may be a bit paranoid but I'm worried that by discarding the raw_*
fields and just storing the body I might lose some data somewhere on some email that I'll need. Once it's discarded the only thing to do is hope that the mail server still has a copy, which is unlikely in my case. That's good to know about the raw_body
though, thanks.
from griddler.
Well, you're welcome to do what you want with the raw_*
fields, but I don't think that Griddler should be changing their charset since they're intended to be 'pristine'.
You seem to have found a solution which meets your needs, so I'm closing this for now.
from griddler.
Related Issues (20)
- Griddler::Email incompatible with Rails 5? HOT 11
- Add spam report to email class HOT 1
- Charset handling for hebrew characters
- Internationalize regex split points
- Remove Email Logging HOT 2
- Allow using multiple email services HOT 2
- EmailServiceAdapterNotFound on subsequent e-mails HOT 1
- InvalidAuthenticityToken on Rails 5.2.0 HOT 4
- Unclear purpose in readme. HOT 3
- Parsing email gets repeated when encountering an exception HOT 3
- Encoding::CompatibilityError HOT 7
- Inline image content-id (cid) : filename mapping gets lost HOT 1
- Receiving emails from Amazon s3
- Slow performance when parsing specific text with Griddler::EmailParser.extract_reply_body HOT 1
- The post is garbled if the original email is encoded with charset iso-2022-jp HOT 3
- Cannot fetch the MIME information written between the boundary line and raw body HOT 3
- Turn off the logging in production
- Is griddler being deprecated in favour of Rails ActionInbox? HOT 1
- Allow regex_split_points and regexes in extract_reply_body to be customized
- Not receiving from email from Sendgrid inbound parse data
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from griddler.