# 定时邮件发送 **Repository Path**: alatus-lee/scheduled-email-sending ## Basic Information - **Project Name**: 定时邮件发送 - **Description**: 通过设定时间和邮件实现离线自动化发送邮件 - **Primary Language**: Python - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2024-12-30 - **Last Updated**: 2025-01-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: Python, 自动化, Email ## README # 定时邮件发送 #### 介绍 通过设定时间和邮件实现离线自动化发送邮件 #### 软件架构 使用Python实现设定时间和邮件实现离线自动化发送邮件 #### 使用效果 ![发送效果图](.gitee/QQ%E6%88%AA%E5%9B%BE20241230185215.png) #### 安装教程 1. 下载发行版中的emailAttack.rar解压即可使用,点击emailAttack.exe启动 2. 在根目录下的config.txt配置信息 3. 具体参考根目录下的使用说明.txt #### 使用说明 参照根目录的使用说明 ``` 1. 准备工作 开启邮箱的「POP3/SMTP」和「IMAP/SMTP」服务: 登录你的邮箱账户设置。 找到并开启「POP3/SMTP」和「IMAP/SMTP」服务。 开启后会获得一段「授权码」,请牢记它,这是用于登录 SMTP 服务器的密码。 获取 SMTP 服务器地址: 根据你的邮箱服务商,搜索对应的 SMTP 服务器地址。例如,QQ 邮箱的 SMTP 服务器地址是 smtp.qq.com。 config.txt 的配置文件,内容格式如下: # SMTP 服务器地址 smtpserver=smtp.example.com # 登录邮箱的用户名(通常是完整的邮箱地址) username=your_email@example.com # 邮箱授权码 password=your_authorization_code # 发件人邮箱地址 sender=your_email@example.com # 收件人邮箱地址 receiver=recipient_email@example.com # 邮件主题 subject=Test Email # 邮件正文 body=This is a test email. # 总共发送的邮件数 total=10 # 已发送邮件数 send=0 # 错误计数 error=0 # 开始发送时间(小时) start_hour=14 # 开始发送时间(分钟) start_minute=30 # 每封邮件的间隔时间(秒) interval=60 ``` #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request