GithubHelp home page GithubHelp logo

zmail's Introduction

zmail

基于swoole和zphp的一个简易的邮件发送服务,用于异步化邮件发送。

运行

  1. git clone https://github.com/shenzhe/zphp, 添加到include_path

  2. 修改 init.d/mail_server里的PHP_BIN 和 SERVER_PATH两个配置

3)chmod +x init.d/mail_server //你也可以把mail_server加到系统的/etc/init.d 里,用chkconfig可设置开机启动

  1. 修改 config/default/config.php里的 mail 邮件服务相关配置(smtp地址、用户名、密码等)

  2. ./init.d/mail_server start //运行mail服务,

  3. 输入ps auxf|grep zmail|grep -v grep 查看服务进程是否启动

  4. 修改client.php里的 目标邮箱地址, 执行 php client.php, 查收邮件

todo

  1. 邮件发送失败重试

  2. 邮件发送状态报表汇总

  3. 后台管理

zmail's People

Contributors

shenzhe 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.