Jhipster中的电子邮件服务 [英] Email service in Jhipster
本文介绍了Jhipster中的电子邮件服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我是Jhispter的新手,我使用yeoman generator
for Jhipster创建了一个应用程序.
I'm new to Jhispter and I created an application using the yeoman generator
for Jhipster.
当我以管理员身份登录到此应用程序以检查Health checks
部分时,我注意到电子邮件服务已关闭,详细信息如下:
When I logged as an admin to this application to check the Health checks
section I noticed that email service is down and the details says this :
com.sun.mail.util.MailConnectException: Couldn't connect to host, port: localhost, 25; timeout -1
我该如何解决这个问题?
How can I solve this problem ?
推荐答案
您必须使用您的真实帐户数据(例如gmail帐户)填充application-dev.yml或application-prod.yml中的属性
You must fill properties in application-dev.yml or application-prod.yml with your real account data (eg gmail account)
mail:
host: localhost
port: 25
username:
password:
这篇关于Jhipster中的电子邮件服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文