Files
hutool/hutool-extra/src/test/resources/config/mail.setting

43 lines
1.5 KiB
Plaintext
Raw Normal View History

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