2023-09-21 18:08:54 +08:00
|
|
|
|
#
|
2024-09-06 00:06:14 +08:00
|
|
|
|
# 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.
|
2023-09-21 18:08:54 +08:00
|
|
|
|
#
|
|
|
|
|
|
|
2021-01-20 17:10:45 +08:00
|
|
|
|
# **************************************************************
|
|
|
|
|
|
# ----- Setting File with UTF8-----
|
|
|
|
|
|
# ----- 邮件发送功能的账户信息配置文件 -----
|
|
|
|
|
|
# ----- 此邮箱专门注册用于Hutool发送邮件测试,为公开邮箱 -----
|
|
|
|
|
|
# **************************************************************
|
|
|
|
|
|
|
|
|
|
|
|
# 邮件服务器的SMTP地址
|
|
|
|
|
|
host = smtp.yeah.net
|
|
|
|
|
|
# 邮件服务器的SMTP端口
|
|
|
|
|
|
port = 465
|
|
|
|
|
|
# 发件人(必须正确,否则发送失败)
|
|
|
|
|
|
from = 小磊<hutool@yeah.net>
|
|
|
|
|
|
# 用户名(注意:如果使用foxmail邮箱,此处user为qq号)
|
2021-10-31 19:12:33 +08:00
|
|
|
|
user = hutool@yeah.net
|
2021-01-20 17:10:45 +08:00
|
|
|
|
# 密码
|
|
|
|
|
|
pass = q1w2e3
|
|
|
|
|
|
# 使用 STARTTLS安全连接
|
|
|
|
|
|
starttlsEnable = true
|
|
|
|
|
|
# 是否开启SSL
|
|
|
|
|
|
sslEnable = true
|
|
|
|
|
|
# 调试模式
|
2021-09-09 16:14:37 +08:00
|
|
|
|
debug = true
|
2021-10-23 23:19:50 +08:00
|
|
|
|
# 对于超长参数是否切分为多份,默认为false(国内邮箱附件不支持切分的附件名)
|
|
|
|
|
|
splitlongparameters = false
|
|
|
|
|
|
# 是否编码附件文件名(默认true)
|
|
|
|
|
|
encodefilename = true
|