Skip to content
This repository has been archived by the owner on May 27, 2021. It is now read-only.

web-ridge/mailstrip

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mailstrip

mailstrip is a Go library that parses email text and strips it of signatures and reply quotes. It is a port of email_reply_parser, GitHub's library for parsing email replies.

Differences to email_reply_parser

Most of mailstrip is a line-by-line port of email_reply_parser and it passes all tests from the email_reply_parser test suite. However, it also implements a few improvements that are not part of email_reply_parser:

  • Forwarded fragments are detected and considered to be visible text, see d321c1.
  • Replies from Yahoo! which lack ">" quote indicators are handled correctly, see e844d.
  • Alternative quote headers used by gmail are handled correctly, see 7ecb6
  • Replies from Google inbox / gmail that has a quoute header in swedish(and possibly other languages) are handled. See 4128d.

Documentation

The API documentation can be found here: http://godoc.org/github.com/kvannotten/mailstrip

License

MIT License. See LICENSE file.

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%