Re: Parsing of multipart emails

33 views
Skip to first unread message

Rustam Aliyev

unread,
May 7, 2013, 7:23:15 PM5/7/13
to elasti...@googlegroups.com
Hi John,

Sorry for delay, looks like your message was held for moderation. Answers below:

On 6 May 2013 10:16, John Wiesel <j...@itembase.biz> wrote:
Hello there,

  1. From looking at your examples, you parse emails (i.E. the mime encoded data) and store the results in Cassandra, along with smaller raw emails, right?
 You can configure ElasticInbox to store HTML and/or plain text message content. You can also turn off both formats which will result in not storing body content at all. See config file: https://github.com/elasticinbox/elasticinbox/blob/master/config/elasticinbox.yaml#L35-L41

When you query API (http://elasticinbox.github.io/api/v2/message/#get) you will see 2 different fields htmlBody and plainBody for HTML and plain text contents respectively.

  1. How do you handle multipart emails where there is both an HTML and a plain text version of the same content?
EI extracts both alternatives and saves them separately as described above.

 
Thanks for your input and your work on this interesting project!

John

--
You received this message because you are subscribed to the Google Groups "ElasticInbox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticinbox...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages