File: README.md

package info (click to toggle)
ruby-email-reply-trimmer 0.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,004 kB
  • sloc: ruby: 389; makefile: 5
file content (21 lines) | stat: -rw-r--r-- 608 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Discourse Email Reply Trimmer

EmailReplyTrimmer is a small library to trim replies from plain text email.

## Usage

To trim replies:

`trimmed_body = EmailReplyTrimmer.trim(email_body)`

## Installation

Get it from [GitHub](https://github.com/discourse/email_reply_trimmer).

Run `rake` to run the tests.

## Inspirations

- [GitHub's Email Reply Parser](https://github.com/github/email_reply_parser)
- [MailGun's Talon](https://github.com/mailgun/talon)
- [Vitor R. Carvalho's Learning to Extract Signature and Reply Lines from Email](http://www.cs.cmu.edu/~vitor/papers/sigFilePaper_finalversion.pdf)