Skip to content

Wangavhnagn/AutoAliveMailer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutoAliveMailer

AutoAliveMailer 是一个自动发送邮件工具,可在每天固定时间向多个指定邮箱发送邮件,保持邮箱活跃。

📦 使用方法

1. 安装依赖

pip install -r https://raw.githubusercontent.com/Wangavhnagn/AutoAliveMailer/main/requirements.txt

2. 设置邮箱账户(创建 .env 文件)

[email protected]
EMAIL_PASS=your_app_password

3. 配置邮件内容(修改 config.json

{
  "receivers": ["[email protected]", "[email protected]"],
  "subject": "Keep-alive Email",
  "content": "Hi, this is a regular keep-alive email.",
  "send_time": "09:00"
}

4. 运行脚本(每天固定时间发送)

python mailer.py

📌 默认使用 Gmail SMTP(smtp.gmail.com:465),可修改为其他服务。

About

AutoAliveMailer 是一个自动发送邮件工具,可在每天固定时间向多个指定邮箱发送邮件,保持邮箱活跃。

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages