官术网_书友最值得收藏!

Email filter

Managing email can be tricky, especially if you have more than one account. If you access your mail from more than one location (that is, from more than one desktop or mobile app), managing your email rules can be trickier still. If your mail system doesn't support rules stored on the server, you're left deciding where to put the rules so that they'll run most often. With this project, we'll develop an application that will allow us to author a variety of rules and then run them via an optional background process to keep your mail properly curated at all times.

A sample rules file may look something like this:

    [ 
      { 
        "serverName": "mail.server.com", 
        "serverPort": "993", 
        "useSsl": true, 
        "userName": "me@example.com", 
        "password": "password", 
        "rules": [ 
           {"type": "move", 
               "sourceFolder": "Inbox", 
               "destFolder": "Folder1", 
               "matchingText": "someone@example.com"}, 
            {"type": "delete", 
               "sourceFolder": "Ads", 
               "olderThan": 180} 
         ] 
      } 
    ] 

This project will cover the following:

  • JavaMail
  • JavaFX
  • JSON Processing
  • Operating System integration
  • File I/O
主站蜘蛛池模板: 桃园县| 全椒县| 遂川县| 崇左市| 平利县| 禹城市| 夏邑县| 永清县| 青河县| 孝义市| 分宜县| 交口县| 湘阴县| 同江市| 平顺县| 泸溪县| 西乡县| 怀来县| 托里县| 专栏| 日照市| 永福县| 东海县| 法库县| 象山县| 华容县| 中牟县| 桦川县| 乳源| 富宁县| 化州市| 沛县| 大港区| 固原市| 修武县| 霍林郭勒市| 贵港市| 乐业县| 乾安县| 拉萨市| 芜湖市|