Is it possible to programmatically 'clean' emails?

后端 未结 6 1070
一向
一向 2021-01-03 08:36

Does anyone have any suggestions as to how I can clean the body of incoming emails? I want to strip out disclaimers, images and maybe any previous email text that may be als

6条回答
  •  被撕碎了的回忆
    2021-01-03 09:03

    If you creating your own application i'd look into Regex, to find text and replace it. To make the application a little nice, i'd create a class Called Email and in that class i have a property called RAW and a property called Stripped.

    Just some hints, you'll gather the rest when you look into regex!

提交回复
热议问题