ruby on rails - Griddler - Clean all body to get only user text -


I'm building an app to reply directly to the email I reply to.

Everything is working fine and

My question is: How can I get the text on which the user has written

There are so many images in my email and I want to cut unnecessary text I'm using reply_delimiter , but the email timestamp still shows something like this:

  "This is my own text that matters! \ N \ N2014-10-10 14:27 GMT-03: 00 The company's store: \ n "  

How can I remove it after \ n E-mail May be different in the client.

Right now, I only responded with Gmail. Jithub has written a horrible Ruby Man, which you have been trying to do whatever you want (and that Geithab uses himself)

to parse the email).

With email-with email_reply_parser and Griddler you will do something similar to the email body to achieve.

/ Code>, and you would like to select one or the other

Finally, parsing the user-generated content from the rest of the e-mail is incredibly difficult and is often 100 % Impossible. Play with both solutions and see who works best for you.

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -