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

39 lines
1.4 KiB
Plaintext
Raw Normal View History

2023-09-21 18:08:54 +08:00
#
2024-08-04 22:21:03 +08:00
# Copyright (c) 2024 looly(loolly@aliyun.com)
2023-09-21 18:08:54 +08:00
# 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.
#
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