Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Try hard to extract interesting textual information from whatever email (text, text+html, html, attachements, etc.)

License

bearstech/emailtexter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

emailtexter

Try hard to extract interesting textual information from whatever email (text, text+html, html, attachements, etc.)

This Perl module implement cruds hacks/heuristics to help mail-to-ticket gateways get rid of the cruft :

  • convert mail with HTML an no text alternative to text
  • remove signatures
  • strip quotes when top-posting
  • try to make sense of abuse or lack of newlines/paragraphs

It parses the incoming email with Email::MIME, only add/modify/delete text or HTML MIME parts, and preserve everything else (attachments and so on).

Right now it will always output UTF-8 encoded text, whatever was the incoming text charset.

Debian dependencies : libfile-slurp-perl libemail-mime-perl (build/test: libtext-diff-perl)

About

Try hard to extract interesting textual information from whatever email (text, text+html, html, attachements, etc.)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages