【发布时间】:2017-07-22 11:27:05
【问题描述】:
我是 Jhipster 的新手,正在尝试配置 zoho,但我遇到了错误。
我在 /myjhipsterapplicationname/src/main/resources/config/application-dev.yml 中的设置
mail:
host: smtp.zoho.com
port: 587
username: ****@myCustomDomainOnZoho.com
password: ****** // My password for the above email
protocol: smtp
tls: true
properties.mail.smtp:
auth: true
starttls.enable: true
ssl.trust: smtp.zoho.com
错误,我收到了
2017-03-02 21:15:13.421 WARN 6192 --- [ints-Executor-2] com.nectotech.com.service.MailService : E-mail could not be sent to user 'asif@nectotech.com'
org.springframework.mail.MailSendException: Failed to close server connection after message failures; nested exception is javax.mail.MessagingException: Can't send command to SMTP host;
nested exception is:
java.net.SocketException: Connection closed by remote host. Failed messages: com.sun.mail.smtp.SMTPSendFailedException: 553 Relaying disallowed as breakpoints@localhost
【问题讨论】:
标签: email installation smtp jhipster zoho