Code Monkey home page Code Monkey logo

quickmailer's Introduction

功能

发送者(仅支持qq邮箱)可发送附件(可多个)和正文给接受者(可多个)

配置解释

filePaths = ["path/to/file1.txt", "path/to/file2.txt"] #待发送的附件路径
senderEmail = "[email protected]" #发送者qq邮箱
senderPassword = "your_password" #在 [账号与安全](https://wx.mail.qq.com/account) --安全设置--SMTP/IMAP服务 中开启服务并获取授权码
subject = "Your Subject" #邮件主题
body = """
Hello,

This is the body of the email.

Regards,
Your Name
""" #邮件正文,不需要可设置为 body = ""

[[receivers]]
name = "Receiver1Name" #接受者姓名(作用仅仅只是标识)
email = "[email protected]" #接受者邮箱

[[receivers]]
name = "Receiver2Name"
email = "[email protected]"

如何使用?

  1. 下载自己电脑cpu架构对应的二进制文件 release下载

  2. 将这个可执行文件、config.toml、待发送附件放在同一级目录下面,执行这个可执行文件,即可瞬间发送。

注意 可将项目中 example-config.toml 的内容复制到你的配置文件config.toml,改一改就可以了

quickmailer's People

Contributors

ruixi-rebirth avatar

Stargazers

666小奇 avatar

Watchers

 avatar  avatar

quickmailer's Issues

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.