Giter VIP home page Giter VIP logo

email_inform_tool's Introduction

一个简易的将新收到邮件进行微信通知的脚本

[toc]

一.使用python库

功能
poplib 登陆pop3服务器,获取邮件状态
email 将获取到的字符进行转码,便于显示
request 向server酱发送http请求

二.代码使用

  1. 前去对应使用的邮箱进行pop3和smtp功能开启,获取授权码以代替密码(更加安全)

  2. 去server酱按步骤注册企业微信,获取sendkey

  3. 将sendkey以及邮箱名,授权码填入代码对应位置

  4. 运行,若想不间断地运行,建议在服务器上通过nohup方式运行

三.借鉴代码说明

​ 该脚本的获取部分来源于库自身api,获取转码部分来源于网络对email,server酱则是之前使用通知程序使用注册

四.版权说明

​ 完全开源,可任意使用以及修改。

email_inform_tool's People

Contributors

jwwangjw avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.