• 请不要在回答技术问题时复制粘贴 AI 生成的内容
ns2250225
V2EX  ›  程序员

请问有什么好的方法自动将新收到的邮件内容存进数据库

  •  
  •   ns2250225 ·
    ns2250225 · Dec 26, 2017 · 3246 views
    This topic created in 3124 days ago, the information mentioned may be changed or developed.
    8 replies    2017-12-27 17:28:59 +08:00
    imdong
        1
    imdong  
       Dec 26, 2017
    想写代码么?

    想:写代码通过 POP3 之类的协议检查更新,然后你懂得。
    或者:自己搞个 STMP 收件服务器,然后你懂得。

    不想:我也不想说。
    oott123
        2
    oott123  
       Dec 26, 2017
    geelaw
        3
    geelaw  
       Dec 26, 2017 via iPhone
    用 Exchange Server,它的邮件本来就是存在数据库里的,消灭你的需求。

    另一种方法是用 Outlook,并用了 COM 访问里面的邮件并复制新的邮件到你需要的数据库里。
    psuwgipgf
        4
    psuwgipgf  
       Dec 27, 2017 via Android
    可以看看 ifttt 找找有没有相似的 service
    psuwgipgf
        5
    psuwgipgf  
       Dec 27, 2017 via Android
    我是把抓取得小说发送到邮件里了
    bravecarrot
        6
    bravecarrot  
       Dec 27, 2017 via iPhone
    用 outlook
    微软有类似的接口,还挺好用的
    ns2250225
        7
    ns2250225  
    OP
       Dec 27, 2017
    @imdong @oott123 @geelaw @psuwgipgf @bravecarrot 感谢推荐,最后我找到了 django-mailbox,容易集成进 django
    roricon
        8
    roricon  
       Dec 27, 2017
    我做过类似的项目, 最后是用 offlineimap + notmuch 做的.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1051 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: d3e9c8b8 · 39ms · UTC 22:41 · PVG 06:41 · LAX 15:41 · JFK 18:41
    ♥ Do have faith in what you're doing.