hutool/hutool-extra/src/test/resources/config/mail.setting
2025-02-21 17:52:32 +08:00

27 lines
927 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# **************************************************************
# ----- Setting File with UTF8-----
# ----- 邮件发送功能的账户信息配置文件 -----
# ----- 此邮箱专门注册用于Hutool发送邮件测试为公开邮箱 -----
# **************************************************************
# 邮件服务器的SMTP地址
host = smtp.yeah.net
# 邮件服务器的SMTP端口
port = 465
# 发件人(必须正确,否则发送失败)
from = 小磊<hutool@yeah.net>
# 用户名注意如果使用foxmail邮箱此处user为qq号
user = hutool@yeah.net
# 密码
pass = 123456
# 使用 STARTTLS安全连接
starttlsEnable = true
# 是否开启SSL
sslEnable = true
# 调试模式
debug = true
# 对于超长参数是否切分为多份默认为false国内邮箱附件不支持切分的附件名
splitlongparameters = false
# 是否编码附件文件名默认true
encodefilename = true