Any Java library to remove addresses from email?

I'm looking for an open source Java library that can extract address information from (German) email (signature). The library should find

  • name
  • the street
  • city, area code / postal code
  • Email
  • tel / fax

address-parser.com is a commercial product, but a free (albeit simple) library would be great.

stackoverflow.com/questions/16413/parse-usable-street-address-city-state-zip-from-a-string asks for something like this, but my problem is broader since the address information is hidden in full email. the address. And there is no solution ...

Any ideas?

+2


a source to share


1 answer


well, you just use javamail to get the details that make up the email until you find one that contains the signature (maybe more than one, like one text / regular and other text / html inside a multi-page / alternative, but the address will be the same in both) and then apply the solution given in the question you mention



+1


a source







All Articles