# 邮箱附件批量发送 **Repository Path**: momen_official/Batch-Email-Sender ## Basic Information - **Project Name**: 邮箱附件批量发送 - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-10-08 - **Last Updated**: 2026-03-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 邮箱附件批量发送Batch-Email-Sender 您可以通过上传邮箱与附件对照表,来批量发送邮件。 适用于 微软outlook邮箱服务器。 SMTP_SERVER = "smtp.office365.com" SMTP_PORT = 587 FASTAPI 项目结构 ```` /email_service_project │ ├── /app │ ├── __init__.py │ ├── main.py │ ├── config.py # 配置相关代码 │ ├── email_sender.py # 邮件发送逻辑 │ ├── utils.py # 通用的工具函数 │ ├── templates.py # HTML 模板逻辑 ├── /attachments # 用于存放上传的附件 ├── /data # 用于存放上传的Excel文件 └── requirements.txt # Python 依赖库 ``` 服务运行命令 `uvicorn app.main:app --reload --host 0.0.0.0 --port 8812`