# # Copyright (c) 2024 looly(loolly@aliyun.com) # Hutool is licensed under Mulan PSL v2. # You can use this software according to the terms and conditions of the Mulan PSL v2. # You may obtain a copy of Mulan PSL v2 at: # https://license.coscl.org.cn/MulanPSL2 # THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, # EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, # MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. # See the Mulan PSL v2 for more details. # # ************************************************************** # ----- Setting File with UTF8----- # ----- 邮件发送功能的账户信息配置文件 ----- # ----- 此邮箱专门注册用于Hutool发送邮件测试,为公开邮箱 ----- # ************************************************************** # 邮件服务器的SMTP地址 host = smtp.yeah.net # 邮件服务器的SMTP端口 port = 465 # 发件人(必须正确,否则发送失败) from = 小磊 # 用户名(注意:如果使用foxmail邮箱,此处user为qq号) user = hutool@yeah.net # 密码 pass = q1w2e3 # 使用 STARTTLS安全连接 starttlsEnable = true # 是否开启SSL sslEnable = true # 调试模式 debug = true # 对于超长参数是否切分为多份,默认为false(国内邮箱附件不支持切分的附件名) splitlongparameters = false # 是否编码附件文件名(默认true) encodefilename = true