# springboot 业务 **Repository Path**: ranhaoliu/springboot-service ## Basic Information - **Project Name**: springboot 业务 - **Description**: 发邮件功能 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-05-08 - **Last Updated**: 2021-05-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #### 1. 准备 找到qq邮箱中的设置,开启POP3/SMTP服务,设置授权码 #### 2.修改配置文件 (1)修改application.yml 中的 password 和username, 其中 password 为 第1 部设置的授权码,username为qq邮箱号 (2)修改 MailController类中 mail方法的number 值, 指定要发送的邮箱号。 #### 3启动与运行 运行MailMain 函数 在浏览器中输入: localhost:8080/send #### 4.我的博客 https://editor.csdn.net/md/?articleId=116531699