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

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
主站蜘蛛池模板: 奉贤区| 东方市| 商洛市| 土默特右旗| 黄陵县| 安岳县| 南宁市| 浮梁县| 松原市| 和顺县| 禄丰县| 许昌市| 丹阳市| 交城县| 迁安市| 乃东县| 宁乡县| 嘉黎县| 宁都县| 临汾市| 开化县| 五台县| 碌曲县| 亳州市| 南和县| 宜兴市| 九江县| 淮南市| 盐边县| 朝阳市| 涞源县| 丽江市| 东台市| 五指山市| 普兰县| 汤阴县| 义马市| 阳新县| 卢氏县| 永春县| 泰来县|