我尝试将 jenkins 配置为使用 gmail 作为 POP 提供商发送电子邮件通知,但我无法成功
SMTP server - pop.gmail.com
Default user e-mail suffix - @gmail.com
Sender E-mail Address - Foobar CI <your.email@gmail.com>
Use SMTP Authentication - yes
User Name - your.email
Password - p******d
Use SSL - yes
SMTP Port - 995
Reply-To Address - noreply@gmail.com
Charset - UTF-8
测试失败:连接被拒绝
javax.mail.MessagingException:无法连接到 SMTP 主机:pop.gmail.com,端口:995;嵌套异常是:java.net.ConnectException:连接被拒绝:连接