# # Copyright (c) 2024 Hutool Team and hutool.cn # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # # ************************************************************** # ----- 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